Hi,
I have compiled lftp v4.0.10 from sources on a Ubuntu Linux 10.04 32bits.
    My config file (~/.lftp/rc):

   set cmd:move-background false
   set cmd:move-background-detach false
   set cache:enable false
   set color:use-color true
   set dns:cache-enable true
   set ftp:use-quit true
   set net:connection-limit 5
   set xfer:log true
   set ftp:sync-mode false
   set pget:default-n 5
   *set mirror:parallel-transfer-count 5*
   *set mirror:use-pget-n 5
   set mirror:parallel-directories true*
   set xfer:clobber false

Yesterday I have a test downloading a Blu-ray folder from my FTP server to my PC with "mirror". I have tested that the download speed was correct and it used the 5 threads. This morning, I have stopped the download, with CTRL+C, when lftp had downloaded approx 16GB of a 20GB file (/file name: 00010.m2ts/). After I restarted the download with "mirror -c" and this is the problem: lftp showed me the next progress info "`00010.m2ts', 151719480 (0%) of 21208006656 was obtained...". However the file size in local was 16997912273 and it seemed that lftp was really continuing the file.
    In that moment the 00010.m2ts.lftp-pget-status

   size=21208006656
   0.pos=37216212
   0.limit=4241601332
   1.pos=4277924564
   1.limit=8483202663
   2.pos=8518416567
   2.limit=12724803994
   3.pos=12760225534
   3.limit=16966405325
   4.pos=17002349585
   4.limit=21208006656

Now lftp shows "`00010.m2ts', 13544997972 of 21208006656 (63%) was obtained..." but the file size in local disk is 19691421641. Is there any problem with progress and "mirror -c"? Really lftp resumed the download?
    Regards.

Reply via email to