PHP – ftp_alloc() Function
The PHP ftp_alloc() function allocates space for a file to be uploaded to the FTP server.
The PHP ftp_alloc() function allocates space for a file to be uploaded to the FTP server.
The PHP ftp_cdup() function changes to the parent directory on the FTP server.
The PHP ftp_chdir() function changes the current directory on the FTP server.
The PHP ftp_chmod() function sets permissions on the specified file via FTP.
The PHP ftp_connect() function opens an FTP connection to the specified host.
The PHP ftp_exec() function requests for execution of a command on the FTP server.
The PHP ftp_fget() function downloads a file from the FTP server and saves it into an open local file.
The PHP ftp_fput() function uploads from an open file and saves it to a file on the FTP server.
The PHP ftp_get() function downloads a file from the FTP server and saves it into a local file.
The PHP ftp_get_option() function returns runtime options of the current FTP connection.
The PHP ftp_mdtm() function returns when the specified file was last modified.
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).