Recently MeroSpark is lunched with more features and services, now you can ask your question, sell your books, share your notes and many more. Visit now and create your account to take full advantage of MeroSpark.

Difference between Hypertext Transfer Protocol (HTTP) and File Transfer Protocol (FTP)

Download our Android App from Google Play Store and start reading Reference Notes Offline.

difference between HTTP and FTPDifference between HTTP and FTP,
Web Technologies Notes| Sixth Semester,
BSc.CSIT | Tribhuvan University (TU)

Difference between FTP and HTTP
HTTP functions as a request-response protocol in the client/server computing model. It is used to deliver resources on the world wide web while FTP is the standard network protocol used for the transfer of computer files between a client and server on a computer network. Detail difference between HTTP AND FTP in tabular form are as follows;

The purpose of HTTP is to serve as a means of accessing the world wide web. The purpose of FTP is to transfer files from one host to another.
HTTP uses TCP’s port number 80. FTP uses TCP’s port number 20 and 21.
In terms of connection, it establishes data connection only. It establishes two connection one for data and one for the control connection.
HTTP’s are mostly used for transferring smaller files such as web pages. FTP’s are mostly used for transferring larger files.
When you are using HTTP, http appears in the URL. When you are using FTP, ftp appears in the url.
HTTP does not require any authentication. FTP requires a password.
The content transferred to a device using HTTP is not saved to the memory of that device. The file transferred to the host device using FTP is saved in the memory of that host device.
HTTP transfers data as binary. FTP has a notion of file format, so it can transfer data as ASCII or binary.
HTTP provides meta-data with files, so that clients can interpret the contents accordingly. FTP doesn’t provide meta-data with files.
Transfers with HTTP always include a set of headers that send meta data. Transfers with FTP doesn’t include a set of headers.
It allows pipelining which means that a client can ask for the next transfer already before the previous one has ended. It doesn’t allow pipelining.
HTTP transfers are primarily just one request and one response. FTP involves the client sending commands to which the server responds. A single transfer can involve quite a series of commands.


(Visited 525 times, 1 visits today)

Posted By : Digvijay | Comment RSS | Category : Sixth Semester
Tag :

Post a Comment

Your email is never published nor shared. Required fields are marked *


Wordpress DMCA
Community | Toolbar | Android App | Founder/Developer : Hari Prasad Chaudhary | CSIT Portal Manager : Digvijay Chaudhary