FileTransferClient.SetFileDateTimeAsync Method
Namespace: Rebex.Net
Assembly: Rebex.FileTransfer.dll (version 7.0.9448)
SetFileDateTimeAsync(String, DateTime, Object)
Sets the modification date and time of the specified remote file.
Declaration
public Task SetFileDateTimeAsync(string remotePath, DateTime newDateTime, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| String | remotePath | The path of the remote file. |
| DateTime | newDateTime | The date and time to set. |
| Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
| Type | Description |
|---|---|
| Task |