SftpAttributes Class
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9448)
Encapsulates file or directory attributes such as user and group id, permissions and modify time.
Syntax
public class SftpAttributes
Inherited Members
Constructors
| Name | Description |
|---|---|
| SftpAttributes() | Creates an instance of SftpAttributes class. |
Properties
| Name | Description |
|---|---|
| Created | Gets or sets the DateTime of the item creation. Only supported for SFTP v4 servers! |
| Group | Gets the group. |
| GroupId | Gets the group ID. |
| Modified | Gets or sets the DateTime of last modification (along with last access datetime). |
| Permissions | Gets or sets the Unix/SFTP permissions. |
| User | Gets the user. |
| UserId | Gets the user ID. |
Methods
| Name | Description |
|---|---|
| SetUserAndGroup(Int32, Int32) | Sets user and group IDs. |
| SetUserAndGroup(String, String) | Sets user and group (only for SFTP v4). |