Table of Contents

Class SftpFileAttributes

Namespace
SshSharp.Sftp
Assembly
SshSharp.dll

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.

public sealed class SftpFileAttributes
Inheritance
SftpFileAttributes
Inherited Members

Properties

Extended

Server-specific extended attributes, by name; empty when there are none.

FileType

What kind of file this is.

GroupId

The owning group's numeric id.

IsDirectory

Whether this is a directory.

IsRegularFile

Whether this is a regular file.

IsSymbolicLink

Whether this is a symbolic link.

LastAccessTime

The last access time (whole seconds).

LastWriteTime

The last modification time (whole seconds).

Permissions

The permission bits (rwx for owner, group and others, and setuid, setgid and sticky).

Size

The size in bytes.

UserId

The owner's numeric user id.