On 03/05/2012 11:44, g....@zefix.tv wrote:
Hi there,
i am using lftp to mirror the backup files of my servers to a ftp
server.
after mirroring i send the transfer_log by email
unfortunately the full password is in the transfer_log, which is not so
good. Is there a way to suppress the password but keep as much
information as possible about the transfers?
Heres the script:
/usr/bin/lftp -c "set net:max-retries 3; set ftp:passive-mode true; set
ftp:list-options -a; set ssl:check-hostname false;
set ssl:verify-certificate false;
open ftp://$USER:$PASS@$HOST;
lcd $LCD;
cd $RCD;
mirror --reverse \
--only-newer \
--exclude-glob .*"
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Probably you using an old version of lftp:
http://lftp.yar.ru/news.html
Version 4.2.3 - 2011-04-29
don't write passwords to transfer_log.
new setting mirror:no-empty-dirs.
allow `jobs' output to be redirected.
don't list not connected torrent peers by default.
show torrent validation rate and ETA.
Levi
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp