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
I have noticed that some methods in SftpClient do not have async equivalents, such as Get, CreateDirectory, DeleteDirectory etc.
A workaround is to use Task.Run but the I/O done can be asynchronous, like ListDirectoryAsync and others. I need it to resolve files-community/Files#2407, instead of resorting to Task.Run.
Reacted by Dion Leurink, Arlo, Tera, Neureka and Unknown6656
Just noticed that GetAttributesAsync is also missing, but it should be fairly low-hanging to implement since #1501 already did most of the required work, as it looks like.
Activity
MarcusWichelmann commentedon Oct 19, 2024
Just noticed that
GetAttributesAsyncis also missing, but it should be fairly low-hanging to implement since #1501 already did most of the required work, as it looks like.