我们经常会在DOS命令模式下使用FTP的一些命令,不过,在进行Upload/Download时,经常会碰到一个命令的反馈: use PORT or PASV first. 请问如何操作呢? 按常里,我们会根据提示,输入PASV或者PORT指令.其实这样输入是无法进行的. 使用的方法如下: 如果需要切换到PORT模式:quote PORT; 同样,如果需要PASV模式:quote PASV即可. 此文档参考:http://www.linuxforums.org/forum/servers/19666-vsftpd-server-425-use-port-pasv-first.html 原文: The FTP server wants to know whether to use a port-mode channel or passive-mode data channel. Most clients will set this up for you transparently (and generally choose passive 'cos it's newer and better). To send a command to the server you use the 'quote' command. Hence if you type:
quote PASV
then it should all work nicely. As an aside, if you type 'remotehelp' then it should show you all the commands that the server can receive - all these can be used with the 'quote' command.
FTP 命令模式下 PASV OR PORT 我们经常会在DOS命令模式下使用FTP的一些命令,不过,在进行Upload/Download时,经常会碰到一个命令的反馈:use PORT or PASV first.请问如何操作呢?按常里,我们会根据提示,输入PASV或者PORT指令.其实这样输入是无法进行的.使用的方法如下:如果需要切换到PORT模式:quote PORT;同样