|Subject:||Time zone of the FTP server.|
|Posted by:||Marcel Horsthuis (marc…@horsthouse.nl)|
|Date:||Fri, 16 Apr 2004|
I'm new to Indy and want to use the TidFtp component to do some
synchronization on remote and local files.
In an early lead (problems with dates) I saw some solutions with MDTM.
Is it not useful to know what the time difference is between the FTP server
and the local machine.
For this purpose I write a dummy file to the FTP server and just thereafter
I get the timestamp from this dummy file from the server.
I calculate the time difference between the server file and the local file
and use this to do the date/time synchronization.
This method is independent in what time zone the local machine is.
Does this method make any sense or are there some sneaky thinks I down