GATE | GATE IT 2006 | Question 18
HELO and PORT, respectively, are commands from the protocols
(A) FTP and HTTP
(B) TELNET and POP3
(C) HTTP and TELNET
(D) SMTP and FTP
Simple Mail Transfer Protocol (SMTP) : It is an Internet standard used for transmitting email. Electronic mail servers and other mail transfer agents use SMTP to send and receive mail messages. The client sends ‘HELO’ command to the SMTP server to identify itself and initiate the SMTP conversatio.
File Transfer Protocol (FTP) : It is a network protocol used to transfer computer files between a client and server on a computer network. FTP communications use two port number values — one for commands (port 21 by default), and one for data transfer. This is where the PORT command comes into play. The PORT command is sent by an FTP client to establish a secondary connection (address and port) for data to travel over.
This solution is contributed by Mohit Gupta .