They are similar in that both are file transfer protocols.


However, they are different in that FTP uses two parallel TCP connections to transfer a file,which are

1) control connection (used for transferring commands)

2) data connection (used for transferring data)


This is the reason why FTP is said to send its control information out-of-band, while HTTP is said to send

its information in-band

(cf. SMTP also sends control information in-band.)


Another difference is that FTP server must maintain state about the user. Keeping track of this state information 

for each ongoing user session significantly constrains the total number of sessions that FTP can maintain simultaneously.


On the other hand, HTTP is stateless--it does not have to keep track of any user state. 




WRITTEN BY
서상호

,