Time Zones & Synchronization

Advertisement

Jan
Guest

Time Zones & Synchronization

Hello!

I have been using WinSCP for some time now, great program!

I recently moved to the UK, while my web server is in Germany. Now that's two different time zones... so when I tried to synchronize local directory for the first time today, WinSCP wanted to copy virtually everything!

Is WinSCP not aware of time zone settings?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
Location:
Prague, Czechia

Re: Time Zones & Synchronization

Do you use SFTP or SCP? With SFTP everything should work fine, except maybe for DST. With SCP you may setup timezone offset on SCP tab of login dialog.
_________________
Martin Prikryl

Reply with quote

Jan
Guest

Re: Time Zones & Synchronization

It says "SFTP (v3)" in the status bar...

I will try SCP and the offset, I hadn't seen that option before...

Reply with quote

Guest

Re: Time Zones & Synchronization

Jan wrote:

It says "SFTP (v3)" in the status bar...

I will try SCP and the offset, I hadn't seen that option before...

Doesn't change anything. I tried "offset 1 hour" and then "offset -1 hour" (you never know...), but to no avail...

Weird...

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
Location:
Prague, Czechia

Re: Time Zones & Synchronization

OK, I'll take a look at this.
_________________
Martin Prikryl

Reply with quote

Advertisement

Keith Ealanta
Joined:
Posts:
2

Re: Time Zones & Synchronization

martin wrote:

OK, I'll take a look at this.

I may be able to extend this one a little for you.
I'm running the latest version (3.5.6 - build 213) and I'm based in AUS (GMT+10)
When I look at files stored on our server (also GMT+10) all the files are shown with datestamps 20 hours forward of the correct date/time.

For reference, my machine is Win2kPro, and is set at GM+10.

The server returns the following in reply to date;hwclock
Tue Apr 20 16:27:18 GMT+10 2004
Tue 20 Apr 2004 04:20:36 PM GMT+10 -0.858586 seconds
So it looks like the hardware clock is in local time as well. My best guess is that somehow we're ending up with a flawed double-dereferencing of the time (trying to go back to a GMT baseline or similar)

As an example a file on the server that has a correct Last updated of "10am 10-Oct-2000" would be reported as "6am 11-Oct-2000"

Anyway, I'd love to see it fixed, and will help any way I can.

Keith Ealanta

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
Location:
Prague, Czechia

Re: Time Zones & Synchronization

Keith Ealanta wrote:

I may be able to extend this one a little for you.
I'm running the latest version (3.5.6 - build 213) and I'm based in AUS (GMT+10)
When I look at files stored on our server (also GMT+10) all the files are shown with datestamps 20 hours forward of the correct date/time.
Thanks for your report, but I again miss one important information: SCP or SFTP protocol?
_________________
Martin Prikryl

Reply with quote

Keith Ealanta
Joined:
Posts:
2

Re: Time Zones & Synchronization

martin wrote:

Keith Ealanta wrote:

I may be able to extend this one a little for you.
I'm running the latest version (3.5.6 - build 213) and I'm based in AUS (GMT+10)
When I look at files stored on our server (also GMT+10) all the files are shown with datestamps 20 hours forward of the correct date/time.
Thanks for your report, but I again miss one important information: SCP or SFTP protocol?

Ooops. It's SFTP with SCP fallback (running as SFTP v3)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
Location:
Prague, Czechia

Re: Time Zones & Synchronization

Keith Ealanta wrote:

Ooops. It's SFTP with SCP fallback (running as SFTP v3)
Thanks for info. I'll contact you, if I need more information.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum