Detects whether the specified file exists on the server.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
Visual Basic |
---|
Public Function FileExists ( _ remotePath As String _ ) As Boolean |
C# |
---|
public bool FileExists( string remotePath ) |
Parameters
- remotePath
- Type: System..::..String
The path of the remote file to check.