Consider the three commands : PROMPT, HEAD and RCPT. Which of the following…

2005

Consider the three commands : PROMPT, HEAD and RCPT. Which of the following options indicate a correct association of these commands with protocols where these are used?  

  1. A.

    HTTP, SMTP, FTP

  2. B.

    FTP, HTTP, SMTP

  3. C.

    HTTP, FTP, SMTP

  4. D.

    SMTP, HTTP, FTP

Attempted by 670 students.

Show answer & explanation

Correct answer: B

Answer: FTP, HTTP, SMTP

  • PROMPT: Used in FTP clients to toggle interactive prompting during multiple-file transfers (so associated with FTP).

  • HEAD: An HTTP request method that retrieves only the headers for a resource (so associated with HTTP).

  • RCPT: Part of the SMTP command set (RCPT TO) used to specify mail recipients (so associated with SMTP).

Note: PROMPT is typically a client-side FTP command (not an HTTP protocol method), which is why the correct order is FTP, HTTP, SMTP.

Explore the full course: Gate Guidance By Sanchit Sir