DST/Timestamp/FTP issue (Win7+WinSCP)

Advertisement

stalwart
Guest

DST/Timestamp/FTP issue (Win7+WinSCP)

Hi Martin,

With regular FTP, WinSCP seems to be incorrectly translating the timestamps for files downloaded, sometimes by 1 hour, and sometimes the timestamp values seem random. I'm using regular FTP because the connection is over a line that is already 4096bit encrypted, so I don't need the extra overhead of additional encryption. Here's my general information:

Client: Win7 Ultimate with WinSCP (I've tried WinSCP v4.3.7 and v5.0.6 with same result)

Server: XP Pro with FileZilla server

Both the client and server are in the same timezone (MST) and are both set to automatically update for daylight saving time, and their clocks are set correctly.

When I view the file list in WinSCP, the file times are correct, but when I download them, they are often increased by 1 hour. However, I've just tried using mirror synchronization, and notice that the times are varying wildly. For example:

04/01/2012 12:03 AM filea
01/14/2011 09:47 PM fileb
01/13/2011 10:49 PM filec
04/01/2012 01:33 AM filed

becomes:

2012-04-01 05:45 PM filea
2011-01-14 12:00 AM fileb
2011-01-13 12:00 AM filec
2012-04-01 01:33 AM filed

on the Win7 client.

I've tried playing with the ConsiderDST reg (and raw set) option, which of course didn't do anything because I'm in regular FTP. Is there any solution to this?

Thanks!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: DST/Timestamp/FTP issue (Win7+WinSCP)

Can you post a screenshot of WinSCP remote file panel and corresponding listing the remote directory?

Reply with quote

stalwart
Guest

Reply

Hi Martin,

Thanks for the quick response. I'm not sure why, but it has spontaneously started to work. I'll just monitor it for a while and see if the problem recurs. I'm not sure, but I think going in and changing the region in Windows, (though not the timezone,) may have had an effect. I checked this setting on the client and server, but can't recall which I changed it on. I also repeatedly verified that the timezone and time settings were all correct, and restarted the client a few times. Perhaps something happened in the process of doing so.

Oddly, for directories, datestamps are seen by WinSCP, but aren't transferred, though I imagine this won't effect anything. (What actually uses directory timestamps anyway?)

However, the dates for some actual files (not directories) are not reported by the server, nor are they seen by WinSCP (nor by the Windows ftp.exe) client. Of course, that seems to be an issue with the FileZilla server. I'll play with it more...

Thanks for your hard work, and for including the scripting capabilities in WinSCP.

Reply with quote

Advertisement

You can post new topics in this forum