DirectoryExists (Dundas Upload Control 2.0)

Dundas

DirectoryExists (Dundas Upload Control 2.0)

Overview | Properties | Methods

Call this method to check if the specified folder already exists on the server.

Syntax

boolean = UploadObject.DirectoryExists (Path as String)

Part

Description

Path

The pathname of the folder to be checked.

Remarks

Returns TRUE if the folder is found on the server, otherwise FALSE is returned.

Note that the type of path specified depends on the UseVirtualDir property setting. If this property is FALSE then a physical pathname is required. If UseVirtualDir is set to TRUE then the specified path needs to be relative. It should start with a forward slash and be followed by a valid alias, and any sub-folders need to be separated with forward slashes.

See Also: DirectoryCreate | DirectoryDelete