Sftp.GetFileDateTime Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
GetFileDateTime(String)
Retrieves the modification date and time of the specified remote file.
Declaration
public DateTime GetFileDateTime(string remotePath)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file. This cannot be a directory. |
Returns
Type | Description |
---|---|
DateTime | A DateTime value set to date and time that the specified file was modified. |