Time Zone Differences
<< Click to Display Table of Contents >> Navigation: Robo-FTP User's Guide > Script Programming > Select Topics in Script Programming > Time Zone Differences |
A remote site may be in a different time zone or it may be configured to always save files with time/date stamps relative to GMT (Greenwich Mean Time).
If not accounted for, this time difference will cause problems with commands like SYNC, FILECOMPARETO and GETSITEFILE. Time zone differences also impact the SENDFILE and RCVFILE commands when they are used with options like /ifnewer.
Robo-FTP offers two methods to account for time zone differences. The TIMEZONE script command has been the recommended method since Robo-FTP v2.0. In previous versions, the method was to specify the /tz option on the appropriate script commands. The /tz option is still supported but has been deprecated. With either method, the time zone difference is specified with a positive or negative integer which represents the number of hours that must be added to, or subtracted from, the current server time so that the resulting time matches your local PC time.
Note: The technical differences between GMT and UTC is not relevant for the purposes of this document.