SymptomsThe modification time reported by ProFTPd to an FTP client differs from the time shown by the ls command locally, as in the following example:
227 Entering Passive Mode (192,168,32,205,203,74).
150 Opening ASCII mode data connection for file list
-rw-r--r-- 1 root root 0 Sep 22 08:44 test
226 Transfer complete
# ls -Al /var/www/vhosts/123456/webspace/test
-rw-r--r-- 1 root root 0 Sep 22 15:44 /home/test/test
CauseProFTPd is applying the GMT time zone to the modification time in the directory listing by default.
ResolutionOverride the default configuration:
1. Edit the file /usr/local/etc/proftpd.conf.pem and add TimesGMT off configuration directive within the <GLOBAL> section as shown below:
# head -n 6 /usr/local/etc/proftpd.conf.pem
# DO NOT REMOVE THIS LINE
2. Reload the ProFTPd configuration with the following command: