Function Name Description ftp_delete Deletes a file from an FTP server. ftp_delete_ex Deletes a file from an FTP server for a specific session. ftp_dir Runs the dir command on the FTP server. ftp_dir_ex Runs the dir command on the FTP server for a specific session. ftp_get Gets a file from an FTP server. ftp_get_ex Gets a file from an FTP server for a specific session. ftp_get_last_download_details Gets the duration and received byte count of the last ftp_get call. ftp_get_last_download_details_ex Gets the duration and received byte count of the last ftp_get call in the session. ftp_get_last_error Retrieves the last error received from the FTP server. ftp_get_last_error_id Retrieves the ID of the last error that was received from the FTP server. ftp_get_last_handshake_duration Returns the duration of the most recent connection creation. ftp_get_last_handshake_duration_ex Returns the duration of the most recent connection creation for a specific session. ftp_get_last_transfer_duration Returns the net file transfer time. ftp_get_last_transfer_duration_ex Returns the net file transfer time for the specific session. ftp_logon Performs a logon to an FTP server. ftp_logon_ex Performs a logon to an FTP server for a specific session. ftp_logout Performs a logout from an FTP server. ftp_logout_ex Performs a logout from an FTP server for a specific session. ftp_mkdir Creates a directory on the FTP server machine. ftp_mkdir_ex Creates a directory on the FTP server machine for a specific session. ftp_put Puts a file on an FTP server. ftp_put_ex Puts a file on an FTP server for a specific session. ftp_rendir Renames a file or directory on the FTP server machine. ftp_rendir_ex Renames a file or directory on the FTP server machine for a specific session. ftp_rmdir Deletes a directory on the FTP server machine. ftp_rmdir_ex Deletes a directory on the FTP server machine for a specific session. ftp_set_option Sets options for an FTP session. 详细参考:http://www.51testing.com/?uid-291148-action-viewspace-itemid-155990