Table of Contents

Enum SftpFileType

Namespace
SshSharp.Sftp
Assembly
SshSharp.dll

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

public enum SftpFileType

Fields

Directory = 2

A directory.

RegularFile = 1

A regular file.

Special = 4

A device, socket or FIFO.

A symbolic link (only from GetAttributesAsync(string, bool, CancellationToken) with followSymbolicLinks: false, or a listing).

Unknown = 0

The server did not say (no permissions in the attributes), or an unknown type.