Detects whether the specified directory exists on the server.

Namespace:  Rebex.Net
Assembly:  Rebex.Sftp (in Rebex.Sftp.dll)

Syntax

Visual Basic
Public Function DirectoryExists ( _
	remotePath As String _
) As Boolean
C#
public bool DirectoryExists(
	string remotePath
)

Parameters

remotePath
Type: System..::..String
The path of the remote directory to check.

Return Value

True if the directory exists, false otherwise.

Implements

IFtp..::..DirectoryExists(String)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also