PASV or port in FTP command mode

Source: Internet
Author: User
Tags ftp commands
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.