Thursday, 22 December 2011

PHP FTP Functions Here


PHP: indicates the earliest version of PHP that supports the function.
FunctionDescriptionPHP
ftp_alloc()Allocates space for a file to be uploaded to the FTP server5
ftp_cdup()Changes the current directory to the parent directory on the FTP server3
ftp_chdir()Changes the current directory on the FTP server3
ftp_chmod()Sets permissions on a file via FTP5
ftp_close()Closes an FTP connection4
ftp_connect()Opens an FTP connection3
ftp_delete()Deletes a file on the FTP server3
ftp_exec()Executes a program/command on the FTP server4
ftp_fget()Downloads a file from the FTP server and saves it to an open file3
ftp_fput()Uploads from an open file and saves it to a file on the FTP server3
ftp_get_option()Returns runtime behaviors of the FTP connection4
ftp_get()Downloads a file from the FTP server3
ftp_login()Logs on to an FTP connection3
ftp_mdtm()Returns the last modified time of a specified file3
ftp_mkdir()Creates a new directory on the FTP server3
ftp_nb_continue()Continues retrieving/sending a file (non-blocking)4
ftp_nb_fget()Downloads a file from the FTP server and saves it to an open file (non-blocking)4
ftp_nb_fput()Uploads from an open file and saves it to a file on the FTP server (non-blocking)4
ftp_nb_get()Downloads a file from the FTP server (non-blocking)4
ftp_nb_put()Uploads a file to the FTP server (non-blocking)4
ftp_nlist()Lists the files in a specified directory on the FTP server3
ftp_pasv()Turns passive mode on or off3
ftp_put()Uploads a file to the FTP server3
ftp_pwd()Returns the current directory name3
ftp_quit()Alias of ftp_close()3
ftp_raw()Sends a raw command to the FTP server5
ftp_rawlist()Returns a detailed list of files in the specified directory3
ftp_rename()Renames a file or directory on the FTP server3
ftp_rmdir()Removes a directory on the FTP server3
ftp_set_option()Sets runtime options for the FTP connection4
ftp_site()Sends a SITE command to the server3
ftp_size()Returns the size of the specified file3
ftp_ssl_connect()Opens a secure SSL-FTP connection4
ftp_systype()Returns the system type identifier of the FTP server3

No comments:

Post a Comment