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
This may be because many filesystems do not actually have the concept of create time -- Windows/NTFS certainly does but, since POSIX does not mandate it, many UNIX-likes do not include this detail.
SSH_FILEXFER_ATTR_CREATETIME was introduced to the draft spec circa revision 3. Whether this is a deliberate design decision by the development team not to include non-POSIX attributes, or a desire to maintain standards/compatibility with the older drafts, I couldn't tell you. From the looks of https://github.com/sshnet/SSH.NET/blob/develop/src/Renci.SshNet/Sftp/SftpFileAttributes.cs, it might not be too difficult for you to patch rudimentary support in.
How can i get create time of the sftp item?
I can not find create time property in SftpFile class,just find LastWriteTime and LastAccessedTime.
The text was updated successfully, but these errors were encountered: