What is the difference between Active (PORT) mode and Passive (PASV) mode?

What is the difference between Active (PORT) mode and Passive (PASV) mode?

Active (PORT) mode:

In active (port) mode the FTP client specifies the data port that the FTP server is going to connect on and waits for the FTP server to connect. The IP address and port number are sent to the FTP server by the FTP client using the PORT command.


Passive (PASV) mode:

In passive (PASV) mode the FTP server specifies the data port that the FTP client will connect on and waits for the FTP client to connect. The FTP client will ask the FTP server for the server's IP address and port number by issuing the PASV command to the FTP server. This will usually solve the problem of firewalls filtering the incoming data connection.



    • Related Articles

    • How can I enable PASV mode?

      In the Administration console, under your server, go to the Connections category. On the Connections Advanced tab you will see a check box that reads "Allow PASV mode connections". Make sure this box is checked.
    • Literal pasv command not working

      Problem: My server is behind a firewall. When I try the "literal pasv" command, the connection times out. What could I be doing wrong? Solution: The 'literal' command in the command line FTP utility is used to blindly pass the command to the server; ...
    • The error code you are getting is 425 Cannot open data connection

      This error indicates that the FTP client is running in Active/PORT mode and you have a firewall in front of your client PC. You should contact the user and have them configure their FTP client to run in PASV/Passive mode instead. Please make sure you ...
    • Error starting the server. Make sure that there are no port conflicts.

      Symptom: This FTP server has been running great for a while. All of a sudden it stopped. Now, when trying to start, you receive the message "Error starting the server. Make sure that there are no port conflicts." Checking the log, you see "Unable to ...
    • Error starting the server. Make sure that there are no port conflicts.

      Symptom: This FTP server has been running great for a while. All of a sudden it stopped. Now, when trying to start, you receive the message "Error starting the server. Make sure that there are no port conflicts." Checking the log, you see "Unable to ...