
- DCN Tutorial
- Data Comm & Networks Home
- DCN - Overview
- DCN - Computer Network Types
- DCN - Network LAN Technologies
- DCN - Computer Network Topologies
- DCN - Computer Network Models
- DCN - Computer Network Security
- Physical Layer
- DCN - Physical Layer Introduction
- DCN - Digital Transmission
- DCN - Analog Transmission
- DCN - Transmission media
- DCN - Wireless Transmission
- DCN - Multiplexing
- DCN - Network Switching
- Data Link Layer
- DCN - Data Link Layer Introduction
- DCN - Error detection and Correction
- DCN - Data Link Control & Protocols
- Network Layer
- DCN - Network Layer Introduction
- DCN - Network Addressing
- DCN - Routing
- DCN - Internetworking
- DCN - Network Layer Protocols
- Transport Layer
- DCN - Transport Layer Introduction
- DCN - Transmission Control Protocol
- DCN - User Datagram Protocol
- Application Layer
- DCN - Application Layer Introduction
- DCN - Client-Server Model
- DCN - Application Protocols
- DCN - Network Services
- DCN Useful Resources
- DCN - Quick Guide
- DCN - Useful Resources
What is FTP?
FTP represents File transfer protocol and it is a standard internet protocol supported by TCP/IP used for transmitting the files from one host to another. FTP needs TCP as a transport protocol to help the reliable end to end connections and executes two types of connections in managing data transfers.
The FTP clients initiate the first connection, referred to as the control connection, to wellknown port 21 (the clients port is typically ephemeral). It is on this part that an FTP server listens for it and accepts new connections. The control connection is issued for all of the control commands a client user uses to log on to the server, manipulate files, and terminate a session. This is also the relationship across which the FTP server will transmit messages to the client in response to their control commands.
The second connection used by FTP is defined as the data connection. Typically, the data connection is established on the server port 20. It depends on how the data connection is established; both the client and server can use ephemeral ports. It is across the connection that FTP shares the information.
FTP opens a data connection when a user concerns a command requiring a data transfer, including a request to retrieve a file or to view a list of the files available. Therefore, an entire FTP session can open and close without a data connection ever having been opened.
In other words, when a client starts an FTP session, the control connections open while the control connection is open, and the data connection can be opened and closed multiple times if several files are transferred.
Advantages of FTP
The advantages of FTP are as follows −
- Speed − The FTP is one of the quickest ways to transfer documents from one device to another.
- Security − It can create the FTP server. We need to log in with the username and password.
- Efficient − It is higher efficient as we do not require all the services to obtain the whole file.
- Back & forth movement − FTP enables us to send the files back and forth.
Disadvantages of FTP
The standard requirement of the market is that all FTP transmissions should be encrypted. However, not all FTP providers are equal and not all provider's support encryption. FTP serves two operations, such as sending and receiving huge files on a network. The size limit of the file is 2GB that can transmit.
Passwords and file text are sent in clear text that enables unwanted eavesdropping. Therefore, it is quite possible that attackers can carry out the brute force attack by trying to guess the FTP password.
It is not compatible with every system.
- Related Articles
- What is the FTP?
- What is the difference between FTP and SFTP?
- What are the FTP Connections?
- What are the FTP Operations?
- PHP ftp://
- PHP FTP context options
- Foreign Trade Policy (FTP)
- FTP protocol client in Python
- Difference between TELNET and FTP
- Difference between FTP and TFTP
- Difference between FTP and SMTP
- How to use FTP in Python?
- File Transfer Protocol (FTP) in Application Layer
- How to install and configuration ftp server in centos 7
- Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP)
