FTP has two modes of operation:
- Active mode (ACTV): In this mode, the client initiates a control connection to the server, and the server initiates a data connection to the client
- Passive mode (PASV): In this mode, the client initiates both the control and data connections to the server
Both types of connections can be implemented, and they will be explained later in this recipe, in the How it works... section.