Retrieves the modification date and time of the specified remote file.
Namespace:
Rebex.Net
Assembly:
Rebex.FileTransfer (in Rebex.FileTransfer.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.