Daylight Savings Time Problem

Advertisement

borisb232
Joined:
Posts:
1

Daylight Savings Time Problem

WinScp has been woking fine for me for several months now. However after the change to daylight savings time WinSCP is showing the remote server file timestamp to be one hour ahead of the server reported timestamp for all files created on the server after the change to DST. Files created before the change to DST show the correct timestamp. Files remotely edited on the server using WinSCP show the correct timestamp.

WinSCP version 4.3.2
Client OS: Win XP
Server OS: Linux (Ubuntu 8.04 LTS)
Connection: SFTP

Both client and server correctly switched to DST. Client and server clocks are sync'd to within a second. Here's an example with file created on the server:

jimrick@ubuntu2:~/ftest$ nano test
jimrick@ubuntu2:~/ftest$ date
Mon Mar 14 15:29:01 CDT 2011
jimrick@ubuntu2:~/ftest$ ls -l
total 4
-rw-r--r-- 1 jimrick www-data 16 2011-03-14 15:28 test

WinSCP shows the file test timestamp as 4:28:50 PM or 1 hour ahead of the actual time created. It also uses the same (incorrect) timestamp when copying the file to the client.

There seems to be a problem in how WinSCP handles DST.

Reply with quote

Advertisement

bytre
Joined:
Posts:
7

I'm getting DST compare problems as well, both my server and client (both win2k8r2) are now under DST rules (USA).

"adjust remote timestamp with DST" is enabled. Using winscp 4.3.2, using SFTP protocol.

The net result is I end up with a massive sync list.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Daylight Savings Time Problem

borisb232 wrote:

WinScp has been woking fine for me for several months now. However after the change to daylight savings time WinSCP is showing the remote server file timestamp to be one hour ahead of the server reported timestamp for all files created on the server after the change to DST. Files created before the change to DST show the correct timestamp. Files remotely edited on the server using WinSCP show the correct timestamp.
Have you seen this?
https://winscp.net/eng/docs/timestamp#windows

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

bytre wrote:

I'm getting DST compare problems as well, both my server and client (both win2k8r2) are now under DST rules (USA).

"adjust remote timestamp with DST" is enabled. Using winscp 4.3.2, using SFTP protocol.

The net result is I end up with a massive sync list.
If it breaks synchronization, then it is unrelated to problem borisb232 is having.
Adjust remote timestamp with DST should be indeed the right option to use, when connecting to pre-Windows 7 server.

Anyway, I have sent you an email.

Reply with quote

Guest

martin wrote:


Adjust remote timestamp with DST should be indeed the right option to use, when connecting to pre-Windows 7 server.

I have the same problem. Server is a Win2005. winSCP running on one remote client (win2005) works fine. On second remote client (2008 R2) thinks it needs to synch ALL files.

I have let it synch all files, but the next time it still thinks everything has changed, as the timestamps are still 1 hr off.

I CANNNOT use SFTP so I cannot set the "Adjust remote timestap with DST" option, as it is not available for FTP.

I have tried using the "timezone offset", with no affect at all.

Is there anyway to get a proper synch between a 2008R2 (windows 7) client and pre-windows 7 server with DST enabled on both and no SFTP available?

Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Anonymous wrote:

Is there anyway to get a proper synch between a 2008R2 (windows 7) client and pre-windows 7 server with DST enabled on both and no SFTP available?
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

mike09
Joined:
Posts:
4

martin wrote:

Anonymous wrote:

Is there anyway to get a proper synch between a 2008R2 (windows 7) client and pre-windows 7 server with DST enabled on both and no SFTP available?
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Email sent!

Reply with quote

mike09
Joined:
Posts:
4

mike09 wrote:

martin wrote:


Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Email sent!

Still waiting on debug version and/or solution to this problem. Any progress?

Reply with quote

martin
Site Admin
martin avatar

mike09 wrote:

Still waiting on debug version and/or solution to this problem. Any progress?
I'm not sure I've received your email. What was the subject?

Reply with quote

Advertisement

You can post new topics in this forum