You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check enabling fileinfo attributes on Windows - (FileInfo object has no attribute XXX error) #131
changed the title [-]Windows - FileInfo object has no attribute XXX error[/-][+]Check enabling fileinfo attributes on Windows - (FileInfo object has no attribute XXX error)[/+]on Dec 1, 2020
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.
Activity
hakaishi commentedon Nov 6, 2020
No such trouble under Ubuntu (python 3.8.5 though)
pkittenis commentedon Nov 8, 2020
Only
st_sizeandst_modeare supported by libssh2 on Windows due to Windows limitations.hakaishi commentedon Nov 8, 2020
okay... paramiko does not have this limitation.
hakaishi commentedon Nov 8, 2020
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?
[-]Windows - FileInfo object has no attribute XXX error[/-][+]Check enabling fileinfo attributes on Windows - (FileInfo object has no attribute XXX error)[/+]pkittenis commentedon Dec 1, 2020
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.
pkittenis commentedon Jan 2, 2021
Resolved by #142
In
0.26.0.