[Tutor] ftp synch

Carlo Bifulco c.bifulco@tin.it
Fri, 12 Apr 2002 22:18:19 +0200


Hi folks,
first of all thanks for the nice tutoring. Just hanging around has been very
instructive.
I have a question concerning the ftplib python module.
I wrote a small application which synchronizes a local and remote
directories through FTP (basically it uploads files absent on the server dir
but present in the local directory and downloads files present in the remote
directory and absent in the local dir). Unfortunately I haven't found a good
way to distinguish files looking at the modification time. I  would like
both directories to share the latest version of each file. I'm having a
problem witht the fact  that the 2 machines have different system clocks. Is
there an easy way to solve this ?
Thanks for any help,
Carlo Bifulco