PHP – ftp_mkdir() Function
The PHP ftp_mkdir() function creates a new directory on the FTP server.
The PHP ftp_mlsd() function returns the list of files in the specified directory.
The PHP ftp_nb_continue() function continues to receive/send a file to the FTP server.
The PHP ftp_nb_fget() function downloads a file from the FTP server and saves it into an open local file (non-blocking).
The PHP ftp_nb_fput() function uploads an open local file to the FTP server (non-blocking).
The PHP ftp_nb_get() function downloads a file from the FTP server and saves it into a local file (non-blocking).
The PHP ftp_nb_put() function uploads a file to the FTP server (non-blocking).
The PHP ftp_nlist() function returns a list of files in the specified directory on the FTP server.
The PHP ftp_rawlist() function returns a list of files with file information from a specified directory on the FTP server.
The PHP ftp_rename() function renames a file or directory on the FTP server.
The PHP ftp_set_option() function sets runtime options of the current FTP connection.
The PHP ftp_size() function returns the size of a specified file on the FTP server.
The PHP ftp_ssl_connect() function opens a secure SSL-FTP connection. Once the connection is open, FTP functions can be run against the server.
The PHP ftp_systype() function returns the system type identifier of the FTP server.