Skip to content

IsAllowedDownloadFolder - cWebResourceManager

Determines whether the passed path is inside one of the registered download folders

Type: Function
Return Data Type: Boolean

Parameters

Parameter Type Description
sPath String The absolute path to a file (for folder names include the trailing "\")

Syntax

Function IsAllowedDownloadFolder String sPath Returns Boolean

Call Example

Get IsAllowedDownloadFolder sPath to BooleanVariable

Description

Determines whether the passed path is inside one of the registered download folders.

You can add a folder to the set of registered download folders by calling RegisterDownloadFolder.

Return Value

True if path is allowed