Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (398)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
FTP Data Connection Modes: Passive or Active
What are the differences of Passive Mode and Active Mode used FTP Control Connection?
✍: FYIcenter.com
FTP protocol supports two modes on how to establish a temporary data connection:
1. Passive Mode - If the FTP client wants to establish a new data connection in Passive Mode, it will request the FTP server to select a port and setup a UDP socket listener on that port. The server will reply back the selected port number to the client. The client will then request for a connection with the server on that port. After the connection is established, data can be transferred.
In other words, in passive mode, the FTP server plays the data connection listener role, and the FTP client plays the requester role.
2. Active Mode - If the FTP client wants to establish a new data connection in Active Mode, it will select a port and setup a UDP socket listener on that port. The client will then send the selected port number to the server. The server will request for a connection with the client on that port. After the connection is established, data can be transferred.
In other words, in active mode, the FTP client plays the data connection listener role, and the FTP server plays the requester role.
From data traffic point of view, passive mode and active mode pretty much the same. No matter who is the listener, the same amount data will be transferred between the client and the server.
However, from the network configuration point of view, if you are using a personal computer at home and running a FTP client tool, using the active mode requires your computer to be configured to listen to incoming UDP connection requests from the Internet is a big challenge.
This is why most FTP client tools default to use Passive Mode for data connections.
⇒ FTP Data Connection Passive Mode Requirements
⇐ What FTP Commands Require Data Connections
2016-12-24, 2319🔥, 0💬
Popular Posts:
How to view dynamic field codes in Microsoft Word? Each dynamic value is Microsoft Word is driven by...
How to pause file transfer in FileZilla FTP Client? I want to close the computer in the middle of a ...
How to add or change the footer on a layout in PowerPoint? I want my slide footers to have the same ...
What are Mozilla Firefox 2 add-ons? Mozilla Firefox 2 add-ons extend the browser functionalities. So...
How to use my iPhone and iPad to set up and manage Chromecast device on my TV? I have a Chromecast d...