Forum Moderators: bakedjake

Message Too Old, No Replies

FTP client displays incorrect time

Wrong time in timestamp being display

         

coopster

8:40 pm on Sep 30, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I searched the web and these forums, but couldn't find much. Can anybody explain why an FTP client might display the incorrect timestamp on a file that has been created/updated? I know it is incorrect because I used the *nix command line to enter a date command and the difference is about five hours off.

coopster

9:20 pm on Sep 30, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



It was a ProFTPD configuration option, TimesGMT [proftpd.linux.co.uk]. Unless this is set to "off", the server displays all times in GMT instead of the server's local time zone.

27. The time being displayed is wrong [proftpd.linux.co.uk]:

The default behaviour for ProFTPD is to display all times relative to GMT. To use local time set "TimesGMT off" in the server section of the config. There is a known issue with Redhat 7, with regard to time handling. [redhat.com...]