Hi Juan,

I use the ~/.netrc file with which lftp is compatible.
http://www.mavetju.org/unix/netrc.php

If you mind to set permissions on this file on 600, then no one else can read this file.
And this is the way I use for automated download with lftp.

Regards,

Franck

On 13/06/2011 13:11, Juan Simón wrote:
Hi,
In the last version of lftp was supressed the output of password to log but it still shows this sensible info in other places: I connect to my FTP with this command: "lftp -u <user>,<password> <server>" and when I execute history I see the password, if I press key <up> I see the password, if I execute debug it shows the password too.
This info should be always invisible.

By other side, is there a way to automate FTP connection without entering the password in plain text?
Regards.

--
Franck Eyraud
European Commission - Joint Research Centre
Institute for Environment and Sustainability
MARS Unit - Community Image Data Portal

TP 266, Via E. Fermi 2749, I-21027 Ispra (VA), Italy
Tel: +39/ 0332 78 9486   Fax: +39 0332 78 5162


Reply via email to