| Method | Description |
__construct | Class constructor. |
chdir | Method to change the current working directory on the FTP server. |
chmod | Method to change mode for a path on the FTP server. |
connect | Method to connect to a FTP server. |
create | Method to create an empty file on the FTP server. |
delete | Method to delete a path [file/folder] on the FTP server. |
get | Method to get a file from the FTP server and save it to a local file. |
getInstance | Returns a reference to the global FTP connector object, only creating it if it doesn’t already exist. |
listDir | Method to list the contents of a directory on the FTP server. |
login | Method to login to a server once connected. |
mkdir | Method to create a directory on the FTP server. |
listNames | Method to list the file/folder names of the contents of a directory on the FTP server. |
pwd | Method to retrieve the current working directory on the FTP server. |
quit | Method to quit and close the connection. |
read | Method to read a file from the FTP server’s contents into a buffer. |
reinit | Method to reinitialize the server, i.e. need to login again. |
rename | Method to rename a file/folder on the FTP server. |
restart | Method to restart data transfer at a given byte. |
setOptions | Set client options. |
store | Method to store a file to the FTP server. |
syst | Method to system string from the FTP server. |
write | Method to write a string to the FTP server. |