Skip to content

IsAllowedUploadFolder - cWebResourceManager

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

Type: Function
Return Data Type: Boolean

Parameters

Parameter Type Description
sPath String The absolute path to this folder (relative paths will not work)

Syntax

Function IsAllowedUploadFolder String sPath Returns Boolean

Call Example

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.

Return Value

True if path is allowed