lftp make-backup not functioning as expected

Posted by Felipe Alvarez on Server Fault See other posts from Server Fault or by Felipe Alvarez
Published on 2012-09-03T02:27:46Z Indexed on 2012/09/03 3:39 UTC
Read the original article Hit count: 710

Filed under:

With default settings, when 'putting' the file, it is clobbered without complaint or warning. When 'getting' lftp complains:

get: super.sh: file already exists and xfer:clobber is unset

I change my /etc/lftp.conf and append:

set xfer:make-backup yes
set xfer:clobber yes

When putting and getting, the files get clobbered, however no backup is made.

I've checked the settings with "set -a | grep clob" and "set -a | grep backup" and the values are correct.

© Server Fault or respective owner

Related posts about lftp