Sets the modification date and time of the specified remote file.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
| Visual Basic |
|---|
Public Sub SetFileDateTime ( _ remotePath As String, _ newDateTime As DateTime _ ) |
| C# |
|---|
public void SetFileDateTime( string remotePath, DateTime newDateTime ) |
Parameters
- remotePath
- Type: System..::..String
The path of the remote file.
- newDateTime
- Type: System..::..DateTime
The date and time to set.