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

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/02/21/gmt-ftp-timestamps-in-plesk/ .
© Major Hayden 2010.

1 Comment   »

  • Daniel says:

    Great, I set this on my proftpd.conf and now its fine, with correct times.

    Was really annoying to see +3 hours on uploaded files info

    Thanks

Trackbacks/Pingbacks

  1. Heartshare » Blog Archive » ProFTPD shows incorrect GMT time

RSS feed for comments on this post , TrackBack URI

Leave a Reply