Subject: | Returned remote mtime of same files changing after daylight saving time swap |
Date: | Mon, 03 Nov 2014 13:31:15 +0100 |
To: | bug-Net-SFTP-Foreign [...] rt.cpan.org |
From: | Anselmo Canfora <acanfora [...] it.tiscali.com> |
Hi,
I just noticed this bug that happens after Italian daylight saving time
swap. The difference between old returned mtime and new one is exactly
3600, indicating that the server is sending and/or the library is
parsing a time different from epoch. The remote sftp server specs are
reported below:
File transfer protocol = SFTP-3
Cryptographic protocol = SSH-2
SSH implementation = 5.1.3.8 SSH Tectia Server
Encryption algorithm = aes
Compression = No
------------------------------------------------------------
Server host key fingerprint
ssh-rsa 1536 6d:6e:2f:9d:65:71:0b:15:1b:d8:14:b0:75:5b:fa:19
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = Yes
Can execute arbitrary command = No
Can create symlink/hardlink = Yes/No
Can lookup user groups = No
Can duplicate remote files = No
Can check available space = No
Can calculate file checksum = No
Native text (ASCII) mode transfers = No
------------------------------------------------------------
Additional information
The server supports these SFTP extensions:
newline@vandyke.com="\r\n"
Thank you in advance for the time you can devote to correct this.
Anselmo Canfora