Operating System - HP-UX
1753511 Members
4921 Online
108795 Solutions
New Discussion

Re: ftp server displays incorrect timestamp

 
John Carver
Frequent Advisor

Re: ftp server displays incorrect timestamp

The /etc/profile entries appears correct:

# Set the TIMEZONE

if [ -r /etc/TIMEZONE ]
then
. /etc/TIMEZONE
else
TZ=MST7MDT # change this for local time.
export TZ
fi

/etc/TIMEZONE is readable by all. No TZ is set in the .profile.

What just occured to me is this server is using PROFTPD.





John Carver
Frequent Advisor

Re: ftp server displays incorrect timestamp

Did a little research and I've added the entry "TimesGMT off" to the /etc/proftpd.conf file. Now the timestamp is displayed in local time from the ftp client. Thanks all for the discussion.