Re: lftp and features
Daniel Fazekas <fdsoft <at> gmail.com>
2010-05-20 15:21:58 GMT
On Apr 26, 2010, at 10:48, Thomas Samoht wrote:
> 1. When using AUTH TLS, I can see PBSZ 0 and PROT P. I haven't read the RFC, but I hope this means that
> both command, and data channel are encrypted. Am I correct?
Not necessarily, that depends on the ftp:ssl-protect-data option.
set ftp:ssl-protect-data yes
if you want to encrypt the data channel too. It is off by default.
You'll probably want ftp:ssl-force too, and set up certificate verification for the server to make sure
you're really talking to the server you think you do.
Search for "ftp:ssl" in the man page for more information.
You can also limit these settings to the given site only:
set ftp:ssl-force/ftp.example.com yes
> 2. Is there a way to store "user/password" combinations somewhere in a file and only use a passphrase to
> for authentication (like with SSH), e.g.
You can use the standard .netrc file like any other ftp client, or set up bookmarks in ~/.lftp/bookmarks.
These are of course plain text files with the password also stored in plain text though.
Search for "bookmark" in the man page.
> 4. When I use the mirror -R, I can see the following behaviours. Correct me, if I'm wrong.
> If the file is present, and it is the same then the one on the local site, nothing is transferred.