Hi Alexander,

and thanks for the lftp program so far. 

Some questions, if you don't mind:

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?

2. Is there a way to store "user/password" combinations somewhere in a file and 
only use a passphrase to that file
for authentication (like with SSH), e.g.

lftp --authentication-file site.auth.conf --passphrase MySecretePassPhrase site
.. fully automatic down or upload from now on ?

3. Is there any specification on what a module can do, and what the interfaces 
are?

4. When I use the mirror -R, I can see the following behaviours. Correct me, if 
I'm wrong.

If a file is not present on the remote site, it's simply transferred.
If the file is present, and it is the same then the one on the local site, 
nothing is transferred.

If the file is present, and it's older than the local one, a "DELE"te commands 
is used to removed the old
file on the remove site, before a new transfer is started. Is there an option to

-1- rename the old file "filename" to "filename.back"
-2- transfer the data to the remote site
-3- remove filename.back

or maybe better
-1- rename the old file "filename" to "filename.timestamp" (format given by the 
lftp user)
-2- transfer the new file


Background of my questions:
I have a server X and want to backup the local /backup directory to a TLS ftp 
server.
Reaonsal for 1: I want all communication to be encrypted because otherwise 
other parties at the hoster might snoop the traffic.
Reasonal for 2: I want to do the backup and mirroring process to be done 
automatically, and I don't like passwords in the clear 
(other uses might see the password in the process list)
Reasonal for 3: Maybe I can do it by my own, but I just don't know how yet.
Reasonal for 4: I always want to have at least one valid version there (if the 
current version is deleted
by mirror -R and right after lftp is killed, no valid version is available 
anymore)


Thanks and regards,
Thomas

--
Thomas
[email protected]

                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969

Reply via email to