Topic "Timestamp problem"

Author Message
zurbum
[View user's profile]

Joined: 2007-12-07
Posts: 3
I am using freeFtpd as a server on Win XP SP2. I am testing everything locally.

The problem is the following:
I copy a file with winscp, timestamp in remote window is shown correctly, but when I check it locally with explorer or total commander, timestamp is shifted in advance for 1 hour. I have tried all options
-adjust remote timestamp to local
-adjust remote timestamp with dst
-preserve remote timestamp

Another interesting thing, if I copy file in windows using total commander WinScp shows me the file in remote window with timestamp shifted back for 1 hour.

I am using WinScp 4.0.5. What am I doing wrong?

Here you can see the same file's timestamp in totalcomander and winscp.


If I copy the file winscp.exe with WinScp from local to remote winscpcopy.exe, the file will have timestamp 22:52:42 on the remote view, but in local view(or in total commander) its time will be 23:52:42. This is 2 hours in advance than the original timestamp

Is this a bug?

Thank you.



[/url]
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
zurbum wrote:
I have tried all options
-adjust remote timestamp to local
-adjust remote timestamp with dst
-preserve remote timestamp

Have you seen any difference when changing the option?
_________________
Martin Prikryl
zurbum
[View user's profile]

Joined: 2007-12-07
Posts: 3
prikryl wrote:

Have you seen any difference when changing the option?


Yes I did. If "adjust remote timestamp to local" or "adjust remote timestamp with dst" is selected and copied file has summer datetime (24. may), then WinScp in remote window shows it with hour+1. When I check it localy with total commander, its hour is shifted +2.

If the same file is copied under "preserve remote timestamp", WinScp shows it with hour shifted +1 and also localy total commander shows it with hour shifted +1.

I contacted freeFtpd authors and they said that they don't modify time in anyway, they use the windows API.

I also notified problem with hour when copying files from windows to linux with WinScp.

Is it possible that you check the problem when using freeFtpd? Files timestamp is important for me because different versions.

Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
zurbum wrote:
Is it possible that you check the problem when using freeFtpd?

OK, will do.
_________________
Martin Prikryl
zurbum
[View user's profile]

Joined: 2007-12-07
Posts: 3
prikryl wrote:
zurbum wrote:
Is it possible that you check the problem when using freeFtpd?

OK, will do.



Anything new regarding timestamp problem?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
zurbum wrote:
Anything new regarding timestamp problem?

Not yet.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I have tried this already. From my point of view WinSCP is behaving correctly. The timestamp reported by freeFtpd are not IMHO in UTC. The fact that they does not modify timestamp returned by WinAPI maybe actually a cause. AFAIK WinAPI cannot report timestamp in UTC.
_________________
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