Computer Science, asked by Shazee, 1 year ago

Difference between smtp and ftp

Answers

Answered by sarang28
4
SMTP is simple mail transfer protocol which is used to send mails.
FTP is file transfer protocol which is used to sent a file from source to destination in small packets.
Answered by abhisheksp
8
Hello,

FTP:

FTP stands for File Transfer Protocol. It is used to send/receive file from the remote computer. It is defined in RFC959. FTP establishes two connections between client system and server system, one for control information and the other for data to be transfered. Control information carry commands/response. Authentication need to be done initially by way of validating username and password. Once it is done files can be transferred between two systems. FTP handles both binary and text format files.

SMTP:

SMTP stands for Simple Mail Transfer Protocol. SMTP provides a protocol for two computers to exchange electronic mail usign a TCP connection. In other words, it is the protocol used by e-mail servers to forward messages across the TCPIP network. The client computer which usually initiates the e-mail message uses the SMTP to send the e-mail to the local server delivery. It is defined in RFC821,RFC822 and RFC974.

As mentioned SMTP communicates with the network via TCPIP protocol stack. SMTP communication occurs through TCP port 25 on SMTP server.

The communication between client and server in the SMTP process consists of about 4 character commands from client to the server and 3 digit response codes from the server to the client as mentioned below in the table. SMTP server response codes are very important in case there is some problem to debug it further from networking point of view.

As we know now that main difference between FTP and SMTP is that with FTP user can send and receive file to and from the computer, While SMTP is used to deliver the mail to the user's mail box configured in the e-mail server.

hope i helped 
plz mark as brainliest

Similar questions