[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] how does WGET resume downloading a file when interrupted ?
- Subject: [ale] how does WGET resume downloading a file when interrupted ?
- From: joe at madewell.com (Joe Steele)
- Date: Sat, 05 Nov 2005 14:43:41 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
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