FTP Control Connection and Data Connection
What are Control Connection and Data Connection used in FTP protocol?
FTP protocol uses two independent connections to perform communication tasks:
1. Control Connection - Control Connection is used for the FTP client to send commands to the FTP server, and receive replies from the server.
When a FTP client connects to a FTP server, a control connection will be established immediately using the TCP protocol. The client then uses the control connection to send FTP commands to the server. For example, USER to provide user name, PASS to provide password, CWD to change directory, or QUIT to end the session.
2. Data Connection - Data Connection is used for the FTP client to upload or download data with the FTP server.
When the FTP client wants to exchange data with the FTP server, like upload or download a file, it will work with the server to establish a new temporary data connection using the UDP protocol in passive mode or activate mode.
Here is diagram showing the two types of connections used in FTP protocol:
2016-11-11, 5924👍, 0💬
Where to find answers to frequently asked questions on Microsoft Word? I want to know how to open PD...
How to configure Mozilla Firefox to use Notepad to edit Web page source code? By default, when you u...
How to add more rows to a table in Microsoft Word documents? One quick way to add rows to a table is...
What is "Microsoft Access Outlook Add-in for Data Collection and Publishing" COM Add-in in Outlook 2...
How to add a picture to a PowerPoint slide? I have a very nice picture I took from a meeting. Can I ...