Discussion:
Pre-Requisites for xfer:verify to work.
Jason McLeod
2013-05-09 14:45:49 UTC
Permalink
Are there server side requisites for the xfer:verify to work? Does it work
with uploading files?


I'm currently using the sync feature to send my files.


$ cat ~/.lftp/rc

set ftp:ssl-allow off

set ftp:passive-mode 0

set xfer:clobber yes

set xfer:verify yes

set xfer:verify-command /usr/local/share/lftp/verify-file



Transfer Command.

lftp remote_site -e "mirror --verbose --delete --reverse --exclude-glob .*
. /dest; ls; bye"



I've turned on Debug, but I don't see the verify command running anywhere.
--
-Jason
Alexander V. Lukyanov
2013-05-13 07:06:36 UTC
Permalink
Post by Jason McLeod
Are there server side requisites for the xfer:verify to work? Does it work
with uploading files?
No, it only works for downloaded files. In fact, lftp cannot verify an
uploaded file without downloading it back.
--
Alexander.
Loading...