Re: ftp method
Hi,
>>"Jason" == Jason Gunthorpe <jgg@gpu.srv.ualberta.ca> writes:
>> This was not clear. So what does one do? test a file in the ../
>> dir, and what happens if the size does not match? I reget the whole
>> thing?
Jason> It checks only the date of the file in ../ to determine if it
Jason> has changed on the server. The size is never checked beacuse of
Jason> decompression.
Umm, I am confised, I think.
o) check to see if the ../$file exists,
if so; test and see of remote times match
match: Do nothing, (do not check ../file size
no math: Download ./$file; (never download ../$file)
else check if ./$file exists
if so test and see of remote times match
match: test and see if size is same as remote size
same: Do nothing
different, local file is smaller: resume
different, local file is larger: ??????
nomatch: reget
Is this a valid depiction of what you want done?
manoj
--
"There has been opposition to every innovation in the history of man,
with the possible exception of the sword." Benjamin Dana
Manoj Srivastava <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: