SftpFile PropertiesSSH .NET Client Library Documentation
The SftpFile type exposes the following members.
Properties

  NameDescription
Public propertyAttributes
Gets the file attributes.
Public propertyExtensions
Gets the extension part of the file.
Public propertyFullName
Gets the full path of the directory or file.
Public propertyGroupCanExecute
Gets or sets a value indicating whether the group members can execute this file.
Public propertyGroupCanRead
Gets or sets a value indicating whether the group members can read from this file.
Public propertyGroupCanWrite
Gets or sets a value indicating whether the group members can write into this file.
Public propertyGroupId
Gets or sets file group id.
Public propertyIsBlockDevice
Gets a value indicating whether file represents a block device.
Public propertyIsCharacterDevice
Gets a value indicating whether file represents a character device.
Public propertyIsDirectory
Gets a value indicating whether file represents a directory.
Public propertyIsNamedPipe
Gets a value indicating whether file represents a named pipe.
Public propertyIsRegularFile
Gets a value indicating whether file represents a regular file.
Public propertyIsSocket
Gets a value indicating whether file represents a socket.
Public propertyIsSymbolicLink
Gets a value indicating whether file represents a symbolic link.
Public propertyLastAccessTime
Gets or sets the time the current file or directory was last accessed.
Public propertyLastAccessTimeUtc
Gets or sets the time, in coordinated universal time (UTC), the current file or directory was last accessed.
Public propertyLastWriteTime
Gets or sets the time when the current file or directory was last written to.
Public propertyLastWriteTimeUtc
Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to.
Public propertyLength
Gets or sets the size, in bytes, of the current file.
Public propertyName
For files, gets the name of the file. For directories, gets the name of the last directory in the hierarchy if a hierarchy exists. Otherwise, the Name property gets the name of the directory.
Public propertyOthersCanExecute
Gets or sets a value indicating whether the others can execute this file.
Public propertyOthersCanRead
Gets or sets a value indicating whether the others can read from this file.
Public propertyOthersCanWrite
Gets or sets a value indicating whether the others can write into this file.
Public propertyOwnerCanExecute
Gets or sets a value indicating whether the owner can execute this file.
Public propertyOwnerCanRead
Gets or sets a value indicating whether the owner can read from this file.
Public propertyOwnerCanWrite
Gets or sets a value indicating whether the owner can write into this file.
Public propertyUserId
Gets or sets file user id.
Back to Top
See Also