My apologies for asking such a simple question.

I have the need to mirror files and I wonder how lftp handles
dynamically changing files via the sftp protocol.

Say I have a directory of text files that are constantly being updated
(but data only gets appended to each of the files).

When I mirror the files will only the information newly appended be transferred?
Or does lftp decide that the whole file may have changed and transfer
the entire file again?

I guess my question is how does lftp decide whether or not to fully
transfer a file or partially transfer a file (is it based on
size/modification time/???).

Is there a setting to achieve my goals (i.e. regardless of the
modification time/creation time, only transfer what has been added to
the end of a file since the last transfer).

May thanks... you won't believe how many different ways I've tried to
go about transferring files... I believe lftp may do 90% of what I've
been doing by hand.

(on another note, rsync might appear to be the best option for what
I'm doing, but I can't depend on rsync availability on the machines
involved in the transfer).

Best regards,

-joe

Reply via email to