Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 797 Bytes

File metadata and controls

21 lines (17 loc) · 797 Bytes
aliases author date tags title
/2007/02/21/gmt-ftp-timestamps-in-plesk/
Major Hayden
2007-02-21 11:13:01 -0800
ftp
plesk
ProFTPD shows incorrect GMT time with Plesk

A really really strange issue randomly appears with ProFTPD and Plesk occasionally. On the filesystem, a file will have a correct creation/modification date, but then when you view it over FTP, it's always off by the amount of hours you differ from GMT.

For example, if the server is on Central Time, all of the files will seem to be created 6 hours after they were really created. The filesystem will show something like 10AM, but the FTP client will say 4PM. Luckily, there is a fix!

Add the following to your /etc/proftpd.conf file and you should be good to go:

TimesGMT off
SetEnv TZ :/etc/localtime