Checks if path is valid, i.e. denotes existing file or directory.

Namespace: Jscape.Sftp
Assembly: 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

CopyC#
true
if path is valid;
CopyC#
false
otherwise

Exceptions

ExceptionCondition
Jscape.Sftp..::..SftpExceptionif protocol error occurs

See Also