Topic "WINSCP displays incorrect timestamp on files on SFTP server"

Author Message

WINSCP is showing the incorrect timezone for Files in directory listing. Sad

To check this I have tried Filezilla and FireFTP and they both show the correct time.
When I connect with Filezilla it issues the following commands
Status: Calculating timezone offset of server...
Command: mtime "hello.txt"
Response: 1245124697
Status: Timezone offsets: Server: 36000 seconds. Local: 36000 seconds. Difference: 0 seconds
From then on it displays the correct timestamp on files
e.g. 10/09/2009 10:49:00PM whereas WinSCP shows 11/09/2009 8:49:51 AM which is tomorrow i.e. 10hours from now, which is my timezone, so WinSCP is assuming UTC? on the SFTP server. Maybe this is "as per spec" and SFTP servers should not be in the local timezone but it is unlikely that I can convince the host to change, however every other client seems to be able handle it?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
That's true, SFTP server must report times in UTC. What is the server?

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License