101 · Question #589
A user wishes to retries a file from an FTP server minimum of how many TCP connections are required to perform this action?
The correct answer is D. 2. FTP requires a minimum of two TCP connections to transfer a file - one for control and one for data. This dual-channel architecture is a defining characteristic of the FTP protocol as specified in RFC 959.
Question
A user wishes to retries a file from an FTP server minimum of how many TCP connections are required to perform this action?
Options
- A3
- B1
- C4
- D2
How the community answered
(36 responses)- A6% (2)
- B3% (1)
- C3% (1)
- D89% (32)
Why each option
FTP requires a minimum of two TCP connections to transfer a file - one for control and one for data. This dual-channel architecture is a defining characteristic of the FTP protocol as specified in RFC 959.
Three TCP connections are not required by the FTP protocol - the standard defines exactly two channels (control and data), so 3 exceeds the minimum.
A single TCP connection cannot fulfill FTP's requirement to separate command signaling from data transfer - the protocol is explicitly designed around two independent channels.
Four TCP connections are not required - FTP uses only two connections (control and data) as its operational minimum, making 4 an incorrect value.
FTP establishes a persistent control connection on TCP port 21 for sending commands (such as USER, PASS, RETR) and receiving server responses, and a separate data connection on TCP port 20 (active mode) or a negotiated ephemeral port (passive mode) for the actual file transfer. Both connections must exist simultaneously to retrieve a file, making 2 the minimum required TCP connections.
Concept tested: FTP dual TCP connection control and data channels
Source: https://www.rfc-editor.org/rfc/rfc959
Topics
Community Discussion
No community discussion yet for this question.