Skip to content

Missing async methods. #1415

Open
Open

Description

@itsWindows11

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.

Activity

  1. MarcusWichelmann commented on Oct 19, 2024

    @MarcusWichelmann

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions