Method |
Description |
|
__construct ( string $ftp, string $user, string $pass, boolean $ssl = false ) : Ftp |
Constructor |
|
__destruct ( ) : void |
Close the FTP connection. |
|
chdir ( string $dir ) : Ftp |
Change directories. |
|
chmod ( string $file, string $mode ) : Ftp |
Change permissions. |
|
delete ( string $file ) : Ftp |
Delete file. |
|
get ( string $local, string $remote, integer | string $mode = FTP_BINARY ) : Ftp |
Get file. |
|
mkdir ( string $dir ) : Ftp |
Make directory. |
|
pasv ( boolean $flag = true ) : Ftp |
Switch the passive mode. |
|
put ( string $remote, string $local, integer | string $mode = FTP_BINARY ) : Ftp |
Put file. |
|
pwd ( ) : string |
Return current working directory. |
|
rename ( string $old, string $new ) : Ftp |
Rename file. |
|
rmdir ( string $dir ) : Ftp |
Remove directory. |
|