How Browser download files (via HTTP or FTP)

Viewed 10371

Please forgive me if it seems a silly question, I have this doubt and couldn't find the answer on the web.

How browser and any other downloader downloads a file, which protocol is working at the backend HTTP or FTP.

As we all know HTTP can be used to transfer text, which can be rendered by the browser. It can also send binary data.

Let's say I want to access a webpage at www.xyz.com/index.aspx which has a static webpage with 2 images. As we all know a total of 3 HTTP requests will be made, one for webpage and other 2 for images.

But what about other files which have a big size. I mean suppose I'm downloading an mp3/mp4 files (having link given on the webpage). So, what protocol is working at the backend HTTP or FTP.

1 Answers
Related