Topic "Daylight Savings Time Problem"

Author Message
borisb232
[View user's profile]

Joined: 2011-03-14
Posts: 1
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.
Advertisements
bytre
[View user's profile]

Joined: 2011-01-13
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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.
Guest




prikryl 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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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.
_________________
Martin Prikryl
mike09
[View user's profile]

Joined: 2011-03-18
Posts: 4
prikryl 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!
mike09
[View user's profile]

Joined: 2011-03-18
Posts: 4
mike09 wrote:
prikryl 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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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?
_________________
Martin Prikryl
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License