Search Engine: Elastic

Article ID: 112360, created on Sep 22, 2011, last review on May 5, 2014

  • Applies to:
  • Operations Automation 5.2
  • Operations Automation 5.1
  • Operations Automation 5.0
  • Operations Automation 2.9


The modification time reported by ProFTPd to an FTP client differs from the time shown by the ls command locally, as in the following example:ftp> ls
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


ProFTPd is applying the GMT time zone to the modification time in the directory listing by default.


Override 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
UseReverseDNS off
IdentLookups off
TimesGMT off

2. Reload the ProFTPd configuration with the following command:/etc/init.d/proftpd reload

c2898cda1192c88ccc616ade5f670bd6 5356b422f65bdad1c3e9edca5d74a1ae c27596ac4fff6cb4c8ec8891dae57001 37e602325b9e080e0d137546b764143c 25ba5a02b9d70d4212e34c355e881968 2554725ed606193dd9bbce21365bed4e 80fcf07a72a3fc2739554dff85ce8fe7 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF