#169749 ncftp: choosing to resume all (R!) from a get is broken

Package:
ncftp
Source:
ncftp
Description:
User-friendly and well-featured FTP client
Submitter:
lilachaze
Date:
2005-07-18 03:37:09 UTC
Severity:
normal
#169749#5
Date:
2002-11-19 14:24:59 UTC
From:
To:
When using the 'get' command to retrieve multiple files, when they already
exist you are prompted as follows:

The local file "test.dat" already exists.
        Local:      11945960 bytes, dated Tue Nov 19 11:25:24 GMT 2002.
        Remote:     15000000 bytes, dated Tue Nov 19 11:25:24 GMT 2002.

        [O]verwrite?  [R]esume?  [A]ppend to?  [S]kip?  [N]ew Name?
        [O!]verwrite all?  [R!]esume all?  [S!]kip all?  [C]ancel  >

Choosing the R! option (resume all), the first file is resumed correctly,
but the second and subsequent files are not. In fact, the local file is
written to starting at the end of the currently-downloaded section, but the
local file is retrieved from the start. This results in corrupted files.

#169749#10
Date:
2002-11-19 16:04:44 UTC
From:
To:
Sorry about that last report...

It turns out that ncftpbatch was downloading the same file in the background,
and it was this that caused the downloaded file to be bigger than the source
file. However, I'd still consider this to be a bug; ncftp should lock files
for writing as it downloads to them.

#169749#15
Date:
2002-11-26 13:12:11 UTC
From:
To:
forwarded 169749 ncftp@ncftp.com
thanks

I reported this problem to the upstream author.

#169749#22
Date:
2002-11-26 23:33:13 UTC
From:
To:

Thanks, we'll put that on the to-do list.


Mike Gleason
NcFTP Software
http://www.NcFTP.com