Follow

How do I make my FTP timestamps display the correct time zone?

  • Applies to: All DV
    • Difficulty: Medium
    • Time Needed: 10
    • Tools Required: SSH, root, vi knowledge

Overview

This article will show you how to modify the FTP timestamp settings to reflect your server's local time zone. This is useful in situations where the FTP log files show a different default time zone (such as GMT).

Requirements

Note: The authoritative source for this information can be found at the following link: http://proftpd.org/docs/directives/linked/config_ref_TimesGMT.html

READ ME FIRST

This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.

Instructions

  1. Connect to your server via SSH.
  2. Open up /etc/proftpd.conf with vi to edit.
    vi /etc/proftpd.conf
  3. Navigate to this section of the proftpd.conf file:
    <Global>
    DefaultRoot     ~  psacln
    AllowOverwrite     on
    </Global>
    
  4. Next, add TimesGMT off to the last line before </Global>.
    <Global>
    DefaultRoot     ~  psacln
    AllowOverwrite     on
    TimesGMT           off
    </Global>
    
  5. Finally, restart xinetd.
    /etc/init.d/xinetd restart

Resources

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk