Sftp.SetAttributesAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
SetAttributesAsync(String, SftpAttributes, Object)
Begins asynchronous SetAttributes operation. Sets the attributes of the remote file.
Declaration
public Task SetAttributesAsync(string remotePath, SftpAttributes attributes, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file or directory. |
SftpAttributes | attributes | Attributes to set. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |