Detects whether the specified directory exists on the server.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

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

Parameters

remotePath
Type: System..::..String
The remote directory.

Return Value

True if the directory exists, false otherwise.

See Also