The SftpFile type exposes the following members.
Back to Top
Properties
| Name | Description | |
|---|---|---|
| Attributes |
Gets the file attributes.
| |
| Extensions |
Gets the extension part of the file.
| |
| FullName |
Gets the full path of the directory or file.
| |
| GroupCanExecute |
Gets or sets a value indicating whether the group members can execute this file.
| |
| GroupCanRead |
Gets or sets a value indicating whether the group members can read from this file.
| |
| GroupCanWrite |
Gets or sets a value indicating whether the group members can write into this file.
| |
| GroupId |
Gets or sets file group id.
| |
| IsBlockDevice |
Gets a value indicating whether file represents a block device.
| |
| IsCharacterDevice |
Gets a value indicating whether file represents a character device.
| |
| IsDirectory |
Gets a value indicating whether file represents a directory.
| |
| IsNamedPipe |
Gets a value indicating whether file represents a named pipe.
| |
| IsRegularFile |
Gets a value indicating whether file represents a regular file.
| |
| IsSocket |
Gets a value indicating whether file represents a socket.
| |
| IsSymbolicLink |
Gets a value indicating whether file represents a symbolic link.
| |
| LastAccessTime |
Gets or sets the time the current file or directory was last accessed.
| |
| LastAccessTimeUtc |
Gets or sets the time, in coordinated universal time (UTC), the current file or directory was last accessed.
| |
| LastWriteTime |
Gets or sets the time when the current file or directory was last written to.
| |
| LastWriteTimeUtc |
Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to.
| |
| Length |
Gets or sets the size, in bytes, of the current file.
| |
| Name |
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.
| |
| OthersCanExecute |
Gets or sets a value indicating whether the others can execute this file.
| |
| OthersCanRead |
Gets or sets a value indicating whether the others can read from this file.
| |
| OthersCanWrite |
Gets or sets a value indicating whether the others can write into this file.
| |
| OwnerCanExecute |
Gets or sets a value indicating whether the owner can execute this file.
| |
| OwnerCanRead |
Gets or sets a value indicating whether the owner can read from this file.
| |
| OwnerCanWrite |
Gets or sets a value indicating whether the owner can write into this file.
| |
| UserId |
Gets or sets file user id.
|
See Also