CS FundamentalsHardGATE CS · Product company CS fundamentals

How many of the following statements about FTP are correct? 1. FTP sends control information out-of-band on a separate TCP connection (server port 21). 2. In active mode the server opens the data connection from its port 20 to a port the client announced. 3. The control connection is closed after each file transfer. 4. In passive mode the client opens the data connection to a port chosen by the server, which suits clients behind NAT.

  1. A. 3
  2. B. 4
  3. C. 2
  4. D. 1

Correct answer: A. 3

1, 2 and 4 are true. Statement 3 is reversed: the control connection is persistent for the whole session, while a new data connection is opened for each file or directory listing.

More Computer Networks questions

Exams that ask this topic