Table of Contents

Namespace SshSharp.Sftp

Classes

SftpClient

An SFTP session (version 3, as OpenSSH's sftp-server and internal-sftp speak it) over an SshClient: files, directories, links and attributes, file streams, and pipelined uploads and downloads. Open one with OpenSftpAsync(SshClient, CancellationToken); several can share a connection, and one may be used by several callers at once.

SftpException

An SFTP request failed: the server answered with an error status (Status), about Path.

SftpExtendedReply

The server's reply to SendExtendedRequestAsync(string, ReadOnlyMemory<byte>, CancellationToken), as it came.

SftpFileAttributes

File attributes in SFTP (version 3): each is null when the server did not send it. To change some with SetAttributesAsync(string, SftpFileAttributes, CancellationToken), set only those.

SftpFileHash

A hash of a remote file, or of a range of it, as the server computed it (GetFileHashAsync(string, IReadOnlyList<string>?, long, long?, CancellationToken)).

SftpFileInfo

A directory entry from ListDirectoryAsync(string, CancellationToken).

SftpFileSystemInfo

A file system's size and free space, from GetFileSystemInfoAsync(string, CancellationToken).

SftpLimits

The sizes an SFTP server accepts (limits@openssh.com), as used for reads and writes.

SftpListOptions

Options for ListDirectoryAsync(string, SftpListOptions, CancellationToken).

SftpOwnerNames

The names of user and group ids, from GetOwnerNamesAsync(IEnumerable<uint>, IEnumerable<uint>, CancellationToken).

SftpTransferEntry

A file or directory a directory transfer is about to transfer, as Filter sees it.

SftpTransferOptions

Options for SftpClient's uploads and downloads.

SftpTransferProgress

The progress of one file in an SFTP transfer (Progress).

SftpTransferSummary

What a directory transfer did.

SshSftpExtensions

SFTP on an SshClient.

Enums

SftpFileType

What kind of file an SftpFileAttributes describes, from the file type bits of its permissions.

SftpStatusCode

An SFTP status code (draft-ietf-secsh-filexfer-02 section 7).