- FTP is a standard network protocol used to transfer computer files between a client and server on a computer networks.
- FTP is built on a client-server model architecture and uses separate control and data connections between the client and server.
- The first FTP client applications were command-line programs developed before operating systems had graphical user interfaces.
- FTP is most commonly used to download a file from a server using the internet or to upload a file to a server.
- Port Numbers of FTP are:
- 20-FTP-Data
- 21-FTP-Control
- FTP works on two modes. Which are:
- Active Mode
- Passive Mode
Active Mode:
- In active mode, the control connection is made from the FTP client but all data connection are made from the FTP server to the FTP client.
- In order for this to work, you usually need either no firewalls or firewalls that understand the FTP protocol.
Passive Mode:
- In passive mode, both control and data connections are made from your FTP client to the FTP server.
- In this mode no problem with firewalls.