RegisterUploadFolder - cWebResourceManager

Used to register a local file path as accessible upload folder

Type: Procedure

Parameters: String sPath

ParameterDescription
sPathThe absolute path to a local folder


Syntax
Procedure RegisterUploadFolder String sPath

Call: Send RegisterUploadFolder sPath


Description

This procedure is used to register a local file path as an accessible upload folder. Subfolders of this folder inherit these permissions, so you do not need to register every subfolder. This means that this folder can be used the cWebFileUploadButton and cWebFileUploadForm.

Note that the upload folders need to be registered when a webapp process starts to make sure that all processes in the pool have the full list of upload folders. So you would send this message from End_Construct_Object or during object creation.