How do I set the active mode and passive mode for FTP?

Source: Internet
Author: User
Tags ftp ftp login requires ftp client client firewall

In the use of FTP, often encountered after the FTP link file list error situation, just because the FTP mode is not correct, how to set the working mode of FTP, what is active mode, what is passive mode, active mode and passive mode what is the difference, Today, we collected relevant information and the methods of setting up the working mode of the common FTP software:

One, what is PASV and Port way

(1) port is actually another name for the standard mode, also known as active mode. The Chinese meaning is "active mode".

(2) PASV is the abbreviation of passive. Chinese is "passive mode".

Two, the difference between the two

The difference is that the port (active) requires that the server emit data through its own TCP 20来 after the TCP 21 port is connected. and need to create a new connection to transfer the file. and the Port's command contains some information that the client does not use, so there is the appearance of PASV. The PASV model has the advantage of the port model and removes some of the port's drawbacks. The PASV operation is that when the server receives a client connection request, it automatically selects one and the client connections from port 1024 to 5000 to pass the data. Because of the passive and automatic connection, vulnerable to attack, so security is poor.

Third, the common FTP client software port mode and PASV mode of switching method

Most FTP clients use the PASV method by default. IE defaults to port mode. In most FTP client settings, often see the word "PASV" or "passive mode", very rare to "PORT" or "active mode" and other words. Because the FTP login method only two kinds: port and PASV, cancels the PASV way, means uses the Port method.

(1) IE: Tools-> Internet Option-> advanced-> "Use Passive FTP" (requires IE6.0 above to support).

(2) Cuteftp:edit-> Setting-> Connection-> Firewall-> "PASV Mode" or file-> site Manager, select Site-> Edi on the left T-> "use PASV mode".

(3) FlashGet: Tool-> option-> Proxy server-> direct connection-> edit-> "PASV mode".

(4) FlashFXP: Option-> parameter selection-> proxy/Firewall/identity-> "Use passive mode" or site administration-> corresponding site-> option-> "Use passive mode" or quick connect-> switch-> "use Passive mode ".



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.