Closed hakaishi closed 3 years ago
No such trouble under Ubuntu (python 3.8.5 though)
Only st_size
and st_mode
are supported by libssh2 on Windows due to Windows limitations.
okay... paramiko does not have this limitation.
Are you speaking generally? SSH2 does support it using SFTP. Using stat/fstat gives me atime/mtime etc even under Windows.
No one seems to mention that SSH2 does not support mtime etc. when running on Windows, are you really sure about this?
If I recall correctly the compiler on windows did not understand the types libssh2 uses for those attributes. This may have been an old compiler for python 2.
Needs retesting on windows.
Resolved by #142
In 0.26.0
.
OS: Windows 10 64 bit Python: 3.8.4 (64 bit) ssh2-python: 0.23.0 Code snippet:
print result: