IsAllowedDownloadFolder - cWebResourceManager

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

Type: Function

Return Data Type: Boolean

Parameters: String sPath

ParameterDescription
sPathThe absolute path to a file (for folder names include the trailing "\")


Return Value

True if path is allowed


Syntax
Function IsAllowedDownloadFolder String sPath Returns Boolean

Call: 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.