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 To: Configure FTP in Titan Nextgen

      Related To Titan Nextgen Builds 2.x and above. Question How can I enable and configure FTP in Titan Nextgen? Reasoning I would like to enable FTP for internal communications that don’t require encryption or added security layers. Answer You have the ...
    • 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 ...
    • How To: Create a server with AD authentication in Titan Nextgen

      Related To Titan Nextgen Builds 1.x and above. Question How can I configure a server to utilize windows active directory as the authentication server in Titan Nextgen? Reasoning I would like to be able to integrate my current AD users so I can give ...