
The data connection can be established in two different ways, using active mode or passive mode. Then, in order to transfer a file or a directory listing, the client sends a particular command over the control connection to establish the data connection. When you connect to an FTP server, you are actually making two connections.įirst, the control connection is established, over which FTP commands and their replies are transferred.

What distinguishes FTP from most other protocols is the use of secondary connections for file transfers. Setting up the network components for FTP outside a local area network (LAN) might be non trivial. It is important to understand the basics of the FTP protocol in order to configure FileZilla/FileZilla Pro, firewalls and routers.
