Koozali.org: home of the SME Server

File Properties (Time Offset) within FTP

Greg Padberg

File Properties (Time Offset) within FTP
« on: December 20, 2002, 07:02:41 PM »
I'm using SME 5.5 strictly as a web / FTP server, on the DMZ of an IPCop firewall.
My SME's clock synchronizes regularly via NTP with a stratum 2 time server in the same time zone. The time zone is set correctly (Canada / Saskatchewan) on both my SME box and my workstation, and all appears normal at first glance.

After I edit a file and upload the file via FTP to my SME web server, the file properties are quite different than expected. I can upload a file at 4:36PM and the file properties via FTP indicate that the file was modified at 10:36PM (exactly 6 hours later). I have verified this with multiple FTP clients. This happens within the primary website (/primary/html) although I have not checked if other I-bays are also affected.

I think the file time properties seem to be messing with my caching proxy server also, as any HTML changes do not seem to take immediate effect!

Nathan Fowler

Re: File Properties (Time Offset) within FTP
« Reply #1 on: December 20, 2002, 11:00:08 PM »
Type "date" at the console and see what your time values are.  I had similar problems using ntpd, I started calling it from command line via crond as opposed to using the daemon and it removed the fluctuation in time.