220-801 · Question #1014
When using the file transfer protocol in active mode, which of the following ports is used to transfer a file?
The correct answer is A. 20. FTP uses two separate ports: port 21 for the control connection (commands and responses) and port 20 for the actual data transfer in active mode. When a client initiates an active mode FTP session, the server opens port 20 to push data to the client. Port 23 is Telnet, port 25…
Question
When using the file transfer protocol in active mode, which of the following ports is used to transfer a file?
Options
- A20
- B23
- C25
- D115
How the community answered
(63 responses)- A86% (54)
- B8% (5)
- C5% (3)
- D2% (1)
Explanation
FTP uses two separate ports: port 21 for the control connection (commands and responses) and port 20 for the actual data transfer in active mode. When a client initiates an active mode FTP session, the server opens port 20 to push data to the client. Port 23 is Telnet, port 25 is SMTP (email), and port 115 is SFTP (Simple File Transfer Protocol), making them all incorrect.
Topics
Community Discussion
No community discussion yet for this question.