When learning the FTP protocol, we learned that the work done in different protocol modes is different, so today we will explain the FTP transmission mode. First, let's take a look at the two FTP modes and how the protocol switching between them is completed.
I. Two FTP Modes
The two FTP modes are active mode PORT and passive mode PASV ). If the active mode is adopted, the FTP software requests the server to connect to it. If the passive mode is adopted, the server tells the FTP software "you are connecting to me ".
TIPS: users with firewalls cannot use the active mode because the firewall does not allow active connections from outside the network. Therefore, users must use the same passive mode.
Ii. Determine whether the problem is in the transfer output mode
When logging on to FTP, various errors often occur. Which of the following are caused by incorrect Transmission Mode settings? The following examples of connection failures may be caused by incorrect Transmission Mode settings.
1. When the "426 data connection closed, transfer aborted" prompt appears, it indicates that you have adopted the active mode, and the firewall prohibits the active connection from the FTP server.
2. If the "550 Passive mode notallowed on this server" information appears, it indicates that the FTP server is set to a connection that does not support the Passive mode.
3. In addition, the error "Data Socket error, connection timeout" is also very common, which is also caused by incorrect Transmission Mode settings.
Iii. FTP transmission mode switching
Since improper transmission mode setting can cause multiple FTP login failures, how can we change the transmission mode in actual application? Next we will teach you how to switch the FTP transmission mode of common tools.
1. IE
Internet Explorer is one of the simplest and most direct tools for us to log on to the FTP server. It uses active mode by default, and the switching method is relatively simple. After IE is started, open "Internet Options" in the "Tools" menu, switch the window to the "advanced" tab, select the "use Passive FTP" option, and save the settings.
2. FlashFXP
FlashFXP is one of the professional tools that we use to log on to FTP. After FlashFXP is started, press F6 to open the "Configure FlashFXP" window and switch to the "connection" tab, select "use passive mode.
3. CuteFTP
CuteFTP can be said to be an FTP tool. After starting CuteFTP, click the "Settings" command under the "edit" menu, select "connection"-"firewall" on the left side of the window, and then select "PASV mode" under the right.
4. LeapFTP
After LeapFTP is started, open the "Site Manager" command under the "Site" menu, or press F4. after the command is opened, select the FTP site to be connected on the left, switch the window on the right to the "advanced" tab and change the "use PASV mode" option.
5. FlashGet
Although FlashGet is often used as a download tool, it can also log on to the FTP server. Start FlashGet, open the "options" command under the "Tools" menu, switch the window to the "Proxy Server" tab, select the direct connection item, and click the "edit" button, change the "PASV mode" option.
How can we solve this problem by providing the FTP transmission mode switching method of common software!