[ale] how does WGET resume downloading a file when interrupted ?

Joe Steele joe at madewell.com
Sat Nov 5 14:43:41 EST 2005


On Sat, 2005-11-05 at 13:07 -0500, Courtney Thomas wrote:
> That is,..... what is the mechanism by which wget 'knows' where it left 
> off in the downloaded fragment and what is the mechanism by which it 
> finds that place in the source file ?
> 

Wget looks at the file size and assumes retrieval should continue with
the next byte past the end of the downloaded file segment.   Wget then
sends an http 'range' header field to the server to tell it where to
restart the retrieval.

--Joe




More information about the Ale mailing list