Differences
This shows you the differences between the selected revisions of the page.
2006-05-05 | 2006-05-05 | ||
symlink anchor (martin) | signedts anchor (martin) | ||
Line 21: | Line 21: | ||
The bug is known on SFTP servers shipped with all versions of [[&openssh|OpenSSH]] (bug [[http://bugzilla.mindrot.org/show_bug.cgi?id=861|#861]]). | The bug is known on SFTP servers shipped with all versions of [[&openssh|OpenSSH]] (bug [[http://bugzilla.mindrot.org/show_bug.cgi?id=861|#861]]). | ||
- | ==== Misinterprets File Timestamps Prior to 1970 ==== | + | ==== [[signedts]] Misinterprets File Timestamps Prior to 1970 ==== |
While specification for SFTP protocol version 3 and older defines file timestamp to be unsigned 32-bit number representing number of seconds from Jan 1, 1970 in UTC, at least OpenSSH interprets it as signed number. The result is that files on the server with timestamps before 1970 will be interpreted by WinSCP as times after 2038. As it is probably quite common bug, it is currently considered to apply for all servers. Set the option to //Off// if it does not for your server. | While specification for SFTP protocol version 3 and older defines file timestamp to be unsigned 32-bit number representing number of seconds from Jan 1, 1970 in UTC, at least OpenSSH interprets it as signed number. The result is that files on the server with timestamps before 1970 will be interpreted by WinSCP as times after 2038. As it is probably quite common bug, it is currently considered to apply for all servers. Set the option to //Off// if it does not for your server. | ||
This is SFTP-3 and older specific bug. SFTP-4 introduced signed 64-bit timestamps. | This is SFTP-3 and older specific bug. SFTP-4 introduced signed 64-bit timestamps. |