ArticleDirectory
- PASV or port in FTP command mode
PASV or port in FTP command mode
we often use some FTP commands in doscommand mode. However, when performing upload/download, we often encounter a command feedback: use port or PASV first. what can I do? normally, we will enter the PASV or PORT command as prompted. in fact, this input cannot be performed. the method is as follows: if you need to switch to port mode: quote port; Similarly, If you need PASV mode: quote pasv. reference: http://www.linuxforums.org/forum/servers/19666-vsftpd-server-425-use-port-pasv-first.html original: 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 shoshould all work nicely. as an aside, if you type 'remotehelp' then it shoshould show you all the commands that the server can receive-all these can be used with the 'quote' command. |