Article 6DNA3 LFTP ignoring "xfer:clobber no"

LFTP ignoring "xfer:clobber no"

by
psycroptic
from LinuxQuestions.org on (#6DNA3)
I have the following command that I run from a systemd timer that downloads only the newest file from an FTP server.

Code:lftp -e "mirror -c --newer-than=Now-7days ftp://SERVER/FILE DESTINATION;bye"LFTP has the "xfer:clobber" setting on its default of no, and this is verified when I start LFTP and do "set -a". It is definitely set to no. But it is still overwriting the existing file..... how can I make it not do this, e.g. don't download if the file in the destination already exists? Thanks.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments