SftpItem Class
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)
Contains information about a single file or directory on the SFTP server.
Syntax
public class SftpItem : FileSystemItem
Inherited Members
Constructors
Name | Description |
---|---|
SftpItem(String, Int64, SftpItemType, Nullable<DateTime>, Nullable<DateTime>) | Initializes a new instance of the Sftp |
SftpItem(String, Int64, SftpItemType, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>) | Initializes a new instance of the Sftp |
SftpItem(String, String, Int64, SftpItemType, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>) | Initializes a new instance of the Sftp |
Properties
Name | Description |
---|---|
Creation |
Gets the creation time of the item.
Inherited from File |
Group | Gets the group of the file. Contains the group name on SFTP v4 servers and group ID on SFTP v3 servers. |
Group |
Gets the group ID of the file. Only available on SFTP v3 servers. |
Is |
Gets the flag indicating whether the item might be a directory. |
Is |
Gets the flag indicating whether the item might be a file. |
Is |
Gets a value indicating whether the item is a link. |
Last |
Gets the last access time of the item.
Inherited from File |
Last |
Gets the last modification time of the item.
Inherited from File |
Length | Gets the file length. |
Name | Gets the name of the file or directory. |
Owner | Gets the owner of the file. Contains the owner name on SFTP v4 servers and owner ID on SFTP v3 servers. |
Owner |
Gets the owner ID of the file. Only available on SFTP v3 servers. |
Path | Gets the path of the file or directory. |
Permissions | Gets the Unix/SFTP permissions. |
Type | Gets the type of the item. |
Methods
Name | Description |
---|---|
Get |
Gets the creation time of the item. |
Get |
Gets the last access time of the item. |
Get |
Gets the last modification time of the item. |
To |
Returns the name of the item. |