Retrieves the modification date and time of the specified remote file.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
| Visual Basic |
|---|
Public Function GetFileDateTime ( _ remotePath As String _ ) As DateTime |
| C# |
|---|
public DateTime GetFileDateTime( string remotePath ) |
Parameters
- remotePath
- Type: System..::..String
The path of the remote file. This cannot be a directory.