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.
The text was updated successfully, but these errors were encountered:
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.
I have noticed that some methods in
SftpClient
do not have async equivalents, such asGet
,CreateDirectory
,DeleteDirectory
etc.A workaround is to use
Task.Run
but the I/O done can be asynchronous, likeListDirectoryAsync
and others. I need it to resolve files-community/Files#2407, instead of resorting toTask.Run
.The text was updated successfully, but these errors were encountered: