Date problem

Advertisement

askocc
Joined:
Posts:
2
Location:
Lappeenranta, FINLAND

Date problem

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!

Reply with quote

Advertisement

minarikv
Guest

Re: Date problem

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.

Reply with quote

minarikv
Guest

Re: Date problem

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).

Reply with quote

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

Re: Date problem

I would recommend you to use SFTP instead of SCP. With SFTP you should not have these problems (I hope so :-))

Reply with quote

minarikv
Guest

Re: Date problem

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.

martin wrote:

I would recommend you to use SFTP instead of SCP. With SFTP you should not have these problems (I hope so :-))

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Date problem

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.

Reply with quote

Advertisement

You can post new topics in this forum