Checks if path is valid, i.e. denotes existing file or directory.
Namespace: Jscape.SftpAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public bool IsValidPath( string path ) |
Visual Basic |
---|
Public Function IsValidPath ( _ path As String _ ) As Boolean |
Visual C++ |
---|
public: bool IsValidPath( String^ path ) |
Parameters
- path
- Type: System..::..String
target path
Return Value

true

false
Exceptions
Exception | Condition |
---|---|
Jscape.Sftp..::..SftpException | if protocol error occurs |