Sftp.SetFileDateTime Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
SetFileDateTime(String, DateTime)
Sets the modification date and time of the specified remote file.
Declaration
public void SetFileDateTime(string remotePath, DateTime newDateTime)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file. |
DateTime | newDateTime | The date and time to set. |