Master the CompTIA Network+ Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your certification!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which protocol uses TCP/20 for file transfers?

  1. HTTP

  2. FTP

  3. SSH

  4. IMAP

The correct answer is: FTP

File Transfer Protocol (FTP) is designed specifically for transferring files and it utilizes two ports for its operations. TCP/21 is used for the control connection, where commands and responses are sent. TCP/20, on the other hand, is employed for the data transfer connection when sending files from the server to the client, typically in active mode. This separation of control and data connections is a fundamental characteristic of how FTP functions, allowing it to manage the transmission of files efficiently. In contrast, the other protocols mentioned do not use TCP/20 for file transfers. HTTP, for example, operates primarily over TCP/80 (or HTTPS over TCP/443), focusing on delivering web content. SSH is used for secure command execution, typically on TCP/22, and IMAP is intended for email retrieval on TCP/143, neither of which involve file transfers in the manner characterized by FTP. Therefore, FTP’s specific use of TCP/20 for data transfer makes it the correct answer.