Topic "Timestamp not working properly when DST is in effect?"

Author Message

I am transferring a file to a remote server via and the timestamp for the file on the server is off by 1 hour. Both systems are set for (GMT-05:00) Eastern Time (US & Canada) and "Automatically adjust clock for daylight saving changes" is checked.

On the local system the file shows as having a timestamp of Jun 4, 2009, 3:09pm. The remote system shows the same date with a time of 2:09pm

If I set the local time zone to (GMT) Greenich Mean Time, the timestamp shown in explorer on the local machine is 7:09pm. The XML log for the transfer shows the following:

<filename value="/fromRemote/backup.db3" />
<modification value="2009-06-04T18:09:27.000Z" />
<result success="true" />

Shouldn't the value be ="2009-06-04T19:09:27.000Z"?

Files that have timestamps where DST is not in effect (e.g. Feb 4, 2008, 5:28pm) appear to have the correct timestamp on the remote system.

I am currently using WinSCP 4.2.1 (build 428), but this happened for 4.1.8 and 4.1.9 as well.
The remote machine is running freeFTPd version 1.0.11

byngl at users dot sourceforge dot net

I forgot to mention that both systems are running Windows XP. The local one Home (SP3), the remote Pro (SP3). Both have the latest updates from Microsoft applied.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
Please read FAQ. If that does not help, come back.
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License