FTP passive and active mode

FTP supports two tranfer mode. With the first active mode, the client initiates the connection to the server on port 21 and the server then binds his on port 20 and opens  a connection to a port above  1023 to the client.

While using passive FTP both connections are established from the client to port tcp 21 and 20 to the  server.

FTP connections

Leave a Reply