Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: WINSCP displays incorrect timestamp on files on SFTP server

That's true, SFTP server must report times in UTC. What is the server?
Guest

WINSCP displays incorrect timestamp on files on SFTP server

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

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?