[Tutor] ftp synch
Scott Weston
scottw@distek.com
Fri, 12 Apr 2002 15:40:35 -0500
You may want to synch both servers with an external time server. This =
would at least help you in determining file dates with more accuracy.
- Scott Weston -
-----Original Message-----
From: Carlo Bifulco [mailto:c.bifulco@tin.it]
Sent: Friday, April 12, 2002 3:18 PM
To: tutor@python.org
Subject: [Tutor] ftp synch
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
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor