Remove this Banner Ad

How does the 'resume download' function work?

🥰 Love BigFooty? Join now for free.

Joined
Jul 3, 2006
Posts
713
Reaction score
17
Location
Melbourne
AFL Club
North Melbourne
Hi all,

I have the DownThemAll! (download manager) extension installed into Firefox, and it allows you to Pause/Resume downloads for servers that allow it.

But does anyone know how the 'resume' function works?

Like, how does the server that you're downloading from KNOW that you have a partially completed file there; and how do they allow you to resume mid-download?

I've been trying to think up of some possible answers but they are probably ridiculous and improbable:

- Ridiculous Theory #1: The server itself stores a partially completed file there with your name on it for your convenience to resume later.

- Ridiculous Theory #2: Your Download Manager, reading the partially downloaded file on your hard disk, simply goes to the URL again, but somehow only resumes it from where you left off.

Hope someone can shed some light on this :).
 
When you do a http GET request for a file you can tell it which part of the file you want using a range header to the request. So your client knows how much of the file you currently have (just by look at the size of your current download) and it asks for the rest. I'm guessing this is how "threaded downloads" work as well, it sends 4 different GET requests each with a different range header.
 

Log in to remove this Banner Ad

Remove this Banner Ad

Remove this Banner Ad

🥰 Love BigFooty? Join now for free.

Back
Top Bottom