FTP命令详解及应用(3)

   46.pwd显示远程主机的当前工作目录。
    47.quit同bye,退出ftp会话。
    48.quote arg1,arg2……将参数逐字发至远程ftp服务器,如quote syst。
    49.recv remote-file[local-file]同get。
    50.regetremote-file[local-file]类似于get,但若local-file存在,则从上次传输中断处续传。
    51.rhelp[cmd-name]请求获得远程主机的帮助。
    52.rstatus[file-name]若未指定文件名,则显示远程主机的状态,否则显示文件状态。
    53.rename[from][to]更改远程主机文件名。
    54.reset清除回答队列。
    55.restart marker从指定的标志marker处,重新开始get或put,如restart 130。
    56.rmdir dir-name删除远程主机目录。
    57.runique设置文件名唯一性存储,若文件存在,则在原文件后加后缀。
    58.send local-file[remote-file]同put。
    59.sendport设置PORT命令的使用。
    60.site arg1,arg2……将参数作为SITE命令逐字发送至远程ftp主机。
    61.size file-name显示远程主机文件大小,如site idle 7200。
    62.status显示当前ftp状态。
    63.struct[struct-name]将文件传输结构设置为struct-name,缺省时使用stream结构。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/fe64b2cf82fe32657bf9923c13e5193c.html