• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

ftp timestamps incorrect ?

D

drawkcaB

Guest
I have a freshly installed Plesk 7.5.3 installation on Debian. Timezones are set correctly to GMT+10 (Melbourne). The time is set. Synchronisation is set to a local server.

The Plesk interface reports the correct time.
If I 'touch' a file via ssh it leaves the correct timestamp. However, all files uploaded via ftp are incorrectly timestamped (10 hours out). As if proftpd doesnt seem to be obeying my timezone settings ?
Anyone seen this silly qwerk before ?
 
You can easy set this value in your ftp client, check this first before you search for a solution on the server.

Regards,
Bart
 
Timezones/Time settings are correct on the client PCs I have tested from. I do not encounter this problem when uploading to other ftp servers I have hosted elsewhere (also proftpd).
Have tried from multiple PCs and ftp clients. Still get the 10 hour difference.
 
And what if you upload a file using the integrated filemanager in Plesk ?

Same ?

Bart
 
This is the bizarre thing, it writes the correct file stamp to the file. (If I 'ls -l' the files they are correct to the filesystem). Its just that when LIST in any ftp client (or pc.. I have tested from 3 different machines) the files are 10 hours out.

To confirm, the machines I have tested from all have their timezones set to GMT+10 and the correct time set. The server is set to GMT+10 and the correct time set.

Ps. Even worst, I just realised it reports them as 2004.. ? weird:

Internet Explorer FTP:
test.html 1 KB 5/31/2004 11:01:00 PM

ls -l from ssh:
-rw-r--r-- 1 testsite psacln 8 Jun 1 09:01 test.html
 
Turned out to be a proftpd thing after all.

Can be tweaked by adding the below to /etc/proftpd.conf

Code:
# time setting
TimesGMT off

I can only assume that this config is overlooked for the debian install of plesk only, as Im sure many other Plesk users would have seen this before if it occured on the other nix* distrobutions.
 
I have the same issue on Red Hat Enterprise 3 (ES) on 7.5.2
It might be a recent problem. Mine are all off similar to you.

hope this fixes me as well
 
Back
Top