Subject: Re: How to configure make to use ncftp3?
To: <>
From: David Laight <david@l8s.co.uk>
List: netbsd-users
Date: 02/22/2002 13:49:08
On Fri, Feb 22, 2002 at 07:25:55AM -0500, Ian P. Thomas wrote:
> 
> reget remote-file [local-file]
> 
> reget acts like get, except that if local-file exists and is
> smaller than remote-file, local-file is presumed to be a par-
> tially transferred copy of remote-file and the transfer is
> continued from the apparent point of failure.  This command
> is useful when transferring very large files over networks
> that are prone to dropping connections.

Maybe it should start the transfer a bit before the end of the
existing file - 1k would be plenty.  Then compare that fragment
against the existing file.  Barfing loudly if there is a mismatch.

This would pick up most cases where the file you are now fetching
isn't the same as the partial copy you fetched earlier.

	David

-- 
David Laight: david@l8s.co.uk