Author Topic: 1 hour difference on *some* uploaded files  (Read 381 times)

matthew

  • Newbie
  • *
  • Posts: 2
1 hour difference on *some* uploaded files
« on: November 24, 2011, 05:02:24 AM »
Got a bit of a weird one here... I have some files which, when uploaded via FTP, show a timestamp on the server of 1 hour earlier than the timestamp on the local mac. This means they always get uploaded again when syncing.

The server time and the local mac time are set to the same; and I don't think it's an issue with the connection itself since it only affects some files. Eg within a single folder I have:

* issue.php - local mod time 09:34, copy to the server = same, 09:34
* pref.php - local mod time 23:49, copy to server - server mod time 22:49

This happens whether I sync, manually overwrite, or delete and re-upload the file. I checked in the bookmark and turned on 'Use MTDM' and 'Adjust SFTP Dates'. I did figure out that if I modify a file, then the new date gets carried over correctly; but there are a lot of files affected and I'd rather preserve the dates of them.

I thought it was a 1.8.7 issue since I started the project in question at the same time as the upgrade - but have gone back to 1.8.6 with the same result.

I'm probably missing something obvious - is there some kind of local file attribute that could cause this?

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: 1 hour difference on *some* uploaded files
« Reply #1 on: November 24, 2011, 05:07:47 AM »
Impossible to tell via this forum.

Please email me : support at yummysoftware dot com

... and we'll work through it.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: 1 hour difference on *some* uploaded files
« Reply #2 on: November 29, 2011, 08:43:33 AM »
For those reading this thread, Matthew kindly let me connect to his server to see what the problem was : it turned out to be a difference between what the server was listing as the date in the textual listing versus the data returned by the SFTP protocol, only the latter of which was correct. Now I have changed Yummy to always use the SFTP protocol provided date and the issue has gone. This fix will be included in the next update.

Thanks to Matthew! :)

matthew

  • Newbie
  • *
  • Posts: 2
Re: 1 hour difference on *some* uploaded files
« Reply #3 on: November 29, 2011, 09:37:46 AM »
No probs - and thanks to Jason for delivering awesome support, and keeping Yummy FTP the most reliable and comprehensive FTP client there is!