IsAllowedUploadFolder - cWebResourceManager

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

Type: Function

Return Data Type: Boolean

Parameters: String sPath

ParameterDescription
sPathThe absolute path to this folder (relative paths will not work)


Return Value

True if path is allowed


Syntax
Function IsAllowedUploadFolder String sPath Returns Boolean

Call: Get IsAllowedUploadFolder sPath to BooleanVariable


Description

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

You can add a folder to the set of registered upload folders by calling RegisterUploadFolder.