On 10 May 1998, Manoj Srivastava wrote: > Hi, > >>"Jason" == Jason Gunthorpe <[EMAIL PROTECTED]> 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
The ??? should be reget, and this should not be an if/else construct. That is, if ../file exists and ./ file exists it should do the first check and then do the second check. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

