In this post under Computer Science Study Material for Gate, we are going to tell the differences between File Transfer Protocol (FTP) and Hypertext Transfer Protocol (HTTP).

File Transfer Protocol

  • FTP and HTTP both were developed to make Internet transmission better.
  • FTP is used to exchange files between computer accounts, to transfer files between an account and a desktop computer (upload), or to access software archives on the Internet.
  • It 's also commonly used to download programs and other files to your computer from other servers. It transfers files in two different formats ASCII for text files and Binary format for binary files. 
  • This allows a user to perform basic file and directory management operations such as deleting, copying, or renaming. 
  • Also, there is something Switch called Anonymous FTP used heavily today by several universities and private organizations.
  • Anonymous FTP is a facility offered by many machines on the Internet. This permits you to log in with the user name 'anonymous' or the user name 'ftp' . When prompted for a password, type your e-mail address -- i t 's not necessary, but it 's a courtesy for those sites that like to know who is making use of their facility. Be courteous. Sometimes require a valid e-mail address, others don't.
Study Material for  gate Computer Science

Hyper Text Transfer Protocol

  • HTTP is used primarily in today’s society as a set of rules for exchanging files (text, graphic images, sound, video, and other multimedia files) on the World Wide Web. 
  • It also provides access to other protocols like FTP, SMTP, NNTP, WAIS, Gopher, Telnet, and TN3270. Essential concepts that are part of HTTP include (as its name implies) the idea that files can contain references to other files whose selection will elicit additional transfer requests.
  •  Any web server machine contains, in addition to the HTML and other files it can serve, an HTTP daemon, a program that is designed to wait for HTTP requests and handle them when they arrive.
  • Your Web browser is an HTTP client, sending requests to server machines. When the browser user enters file requests by either "opening" a Web file (typing in a Uniform Resource Locator) or clicking on a hypertext link, the browser builds an HTTP request and sends it to the Internet Protocol Address indicated by the URL. The HTTP daemon on the destination server machine receives the request and, after any necessary processing, the requested file is returned.
Keywords: file transfer protocol, hyper text transfer protocol, difference between ftp and http, features of ftp, features of http, function of ftp, function of http, computer networks pdf