Opened 14 years ago

Closed 11 years ago

#5219 closed Bug report (outdated)

bad timestamps handling

Reported by: Philippe Laplanche Owned by:
Priority: high Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: Windows
Operating system version: windows XP



I am working under Windows XP SP3 with filezilla client 3.3.2

I am extensively using the "Folder compare" feature of filezilla client and I am using the option to preserve timestamps when uploading files.

After uploading a file on the box, filezilla client still says that the files are not the same. There is a 1 hour difference in the timestamps.

I am connected to a remote linux box throught its sftp server

The linux box is not on the same timezone as I am.

I don't get this behaviour when I use an other sftp client like winscp so I guess this must be a bug coming from filezilla.

Thanks for looking into this



Change History (5)

comment:1 by Tim Kosse, 14 years ago

Status: newmoreinfo

Are you using FTP or SFTP?

In case of FTP, you have to use a server supporting the MLSD command, as the timestamp returned by LIST are not standardised and known to be unreliable.

comment:2 by Greg Nelson, 14 years ago

Status: moreinfonew

I use SFTP and the servers are in the same timezone, and I have the same issue. It appears to have something to do with DST versus standard time; my guess is that the *historical* local time conversion is different on the two ends of the connection, but I cannot say for sure which one is incorrect. I know that there is some complexity also around the changes to DST rules between 2006 and 2007, however, this seems to occur for more recent dates as well.

This link might be relevant:

comment:3 by Rod Lockwood, 12 years ago

In the original complaint Dalouuu stated:

"I am connected to a remote linux box throught its sftp server

The linux box is not on the same timezone as I am."

The instructions directly under the selection box for the Default file exists action reads:

"If using 'overwrite if newer', your system time has to be synchronized with the server. If the time differs (e.g. different timezone), specify a timezone offset in the site manager."

Standard Time and Daylight Savings Time are considered different timezones. Therefore you need to specify the timezone offset in the site manager.

comment:4 by Alexander Schuch, 11 years ago

Status: newmoreinfo

As far as I know, SFTP timestamps are always given in UTC.

Do you still have the problem with latest FileZilla?

comment:5 by Alexander Schuch, 11 years ago

Resolution: outdated
Status: moreinfoclosed

No reply for more than 28 days. Maybe also see #4134 as possibly related item.

Note: See TracTickets for help on using tickets.