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 ".