Hi, I use wget to mirror most (except test, debug, and many foreign language files) of the Mageia Linux distro. After killing a session midstream, I added "-c" to resume a large file, then just left it in the command:
$ wget -c --config=/home/pfortin/.wgetrc.getMageia --no-host-directories ftp://mirror.nexcess.net/mageia/distrib/cauldron/x86_64/ This seemed to work; then I noticed that a small number of files were "missing" (No such file). In the below snippet, the .listing file contains: -rw-r--r-- 1 ftp ftp 78146 Jan 13 16:52 01_IM_mageia.png while the local directory has: -rw-r--r-- 1 pfortin pfortin 139343 Jan 13 16:52 01_IM_mageia.png Re-issuing the above command without -c downloaded the files correctly. Thinking about this a tad more, could it be that the initial use of -c caused some files to be added to (can't think of any reason why image files would grow otherwise)? Then, subsequent gets triggered this bug due to size mismatch caused by the initial faulty [re-]get? ===================== snippet ========================== ==> CWD (1) /mageia/distrib/cauldron/x86_64/install/extra/advertising ... done. ==> PASV ... done. ==> LIST ... done. [ <=> ] 1,628 --.-K/s in 0.006s 2014-01-14 10:36:02 (265 KB/s) - ‘install/extra/advertising/.listing’ saved [1628] Remote file no newer than local file ‘install/extra/advertising/01_IM_mageia.pl’ -- not retrieving. The sizes do not match (local 139343) -- retrieving. --2014-01-14 10:36:02-- ftp://mirror.nexcess.net/mageia/distrib/cauldron/x86_64/install/extra/advertising/01_IM_mageia.png => ‘install/extra/advertising/01_IM_mageia.png’ ==> CWD not required. ==> PASV ... done. ==> REST 139343 ... done. ==> RETR 01_IM_mageia.png ... No such file ‘01_IM_mageia.png’. ========================================================= Hope this helps track down how this happened... Pierre
