Computer Science - Class 12
Chapter 11 - Data Communication

Differentiate between FTP and HTTP.

 

Answer:

FTP - Teachoo.jpg

HTTP - Teachoo.jpg

 

FTP

HTTP

  • It is a network protocol used to transfer files from one machine to another.
  • It is the primary protocol used to access the World Wide Web.

 

Additional points:

FTP

HTTP

  • It is a two-way system as files are transferred back and forth between the server and workstation.
  • It is a one-way system as files are transported only from the server onto the workstation’s browser.
  • It is slower compared to HTTP.
  • It is faster compared to FTP.

 


Transcript

Differentiate between FTP and HTTP. Answer: FTP USER XXX PASS XXX CWD XXX PORT clientip:cport RETR index.html Server initiates TCP data connection Server: 20 clientip:cport FTP Client FTP Server HTTP HTTP Client GET/ home/index.html USER XXX PASS XXX Server sends file on same connection HTTP Server It is a network protocol used to transfer files from one machine to another. It is the primary protocol used to access the World Wide Web. Additional points: FTP HTTP It is a two-way system as files are transferred back and forth between the server and workstation. It is a one-way system as files are transported only from the server onto the workstation’s browser. It is slower compared to HTTP. It is faster compared to FTP.

Ask a doubt
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science, Social Science, Physics, Chemistry, Computer Science at Teachoo.