Discussion:
lftp possible bug
Alexander V. Lukyanov
2013-08-16 19:51:39 UTC
Permalink
/usr/local/bin/lftp -p 22 -u $login,$pass $host << EOF
set mirror:use-pget-n 5
mirror -v --continue --parallel=5 --newer-than $last_run_file --no-perms
--depth-first --no-empty-dirs --log=$log_file $remote_dir $local_dir
quit
EOF
The issue I am seeing is that sub-directories of $remote_dir are still
transferred to the target even if they contain no files that are newer than
$last_run_file. The files within are not copied as expected, but I do not
believe the directories should transfer.
Can you please test this patch? You can just download snapshot from
http://lftp.yar.ru/ftp/devel/lftp-pre4.4.9-20130816.tar.gz

--
Alexander.
Alexander V. Lukyanov
2013-08-16 19:52:29 UTC
Permalink
/usr/local/bin/lftp -p 22 -u $login,$pass $host << EOF
set mirror:use-pget-n 5
mirror -v --continue --parallel=5 --newer-than $last_run_file --no-perms
--depth-first --no-empty-dirs --log=$log_file $remote_dir $local_dir
quit
EOF
The issue I am seeing is that sub-directories of $remote_dir are still
transferred to the target even if they contain no files that are newer than
$last_run_file. The files within are not copied as expected, but I do not
believe the directories should transfer.
Can you please test this patch? You can just download snapshot from
http://lftp.yar.ru/ftp/devel/lftp-pre4.4.9-20130816.tar.gz

--
Alexander.

Loading...