Opened 11 years ago

#9157 new Bug report

Time translation from SFTP server

Reported by: siddolo Owned by:
Priority: normal Component: FileZilla Client
Keywords: time, utc, atime, mtime, sftp Cc:
Component version: Operating system type: Windows
Operating system version: Windows 7

Description

When a file was retrieved from an SFTP server, the timestamp was not translated from UTC into localtime.

As SFTP specs says, the time need to be send in UTC.

   	uint32   atime          present only if flag SSH_FILEXFER_ACMODTIME
   	uint32   mtime          present only if flag SSH_FILEXFER_ACMODTIME

The `atime' and `mtime' contain the access and modification times of
   the files, respectively.  They are represented as seconds from Jan 1,
   1970 in UTC.

FileZilla client and OpenSSH server respect the RFC and send this in UTC, but i think that after atime/mtime was transferred to the client, it should be translated (by FileZilla) in a localtime.

Change History (0)

Note: See TracTickets for help on using tickets.