Topic "Date problem"

Author Message
askocc
[View user's profile]

Joined: 2003-06-06
Posts: 3
Location: Lappeenranta, FINLAND
After first of June all files which are created at my redhat-box shows year 2002 at WinSCP-pane, day and month are okay as well as filesize. I've doublechecked my linux-box date. Anyone has similar problem?

Thanks Martin for the very good program!
Advertisements
minarikv

Guest


I've found the same behaviour with the version 3.3.0 when was uploading my source files to the server. WinSCP shows year 2002 for files edited a minute ago and then the Compare Directories command doesn't work.

Maybe this problem can be connected with the fact I am using WinSCP in different timezone than the server has. Can anyone check this? I have had no such problems till version 3.2.1 and in the same timezone.
minarikv

Guest


The problem is caused by improper timezones handling.
Example:
Take 26/09/03 as today's date.
Take some file dated 26/09/03 18:00 on your local drive in Los Angeles, CA (Pacific daylight time, GMT-7).
Upload this file to the server in Prague (GMT+2).
On your server it gets the date 27/09/03 3:00 which is then wrongly displayed as 27/09/02 in WinSCP. This is because WinSCP local time is still 26/09/03 and it obtains in directory listing the string "Sep 27" which is then treated as one year old.

It should be better to set the same time to the file on the server as it has on your local drive, regardless of any timezones (at least in the situation described).
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I would recommend you to use SFTP instead of SCP. With SFTP you should not have these problems (I hope so Smile)
_________________
Martin Prikryl
minarikv

Guest


I tried SFTP but due to very small throughput (11KB/s) I had to return to SCP (>40KB/s with compression).
For the slow connection case it would be nice to be able to set timezone difference in WinSCP's settings for the SCP connection.
prikryl wrote:
I would recommend you to use SFTP instead of SCP. With SFTP you should not have these problems (I hope so Smile)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
minarikv wrote:
For the slow connection case it would be nice to be able to set timezone difference in WinSCP's settings for the SCP connection.

It is possible with since WinSCP 3.3. See SCP tab of Login dialog.
_________________
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