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

Reply via email to