Ftp函数常用协议

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值