• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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