lftp file configuration and stored password

2.8k views Asked by At

I am connecting to some ftp server with lftp.

lftp -u login,password -e "ls /someFolderOnTheServer" bla.node.org"

Does someone know how I can setup things such that the login and the password are read from some configuration file instead ?

many thanks for your valuable help.

1

There are 1 answers

3
lav On

Yes, it's possible. Use ~/.netrc file.