Parameter | Description |
---|---|
sPath | The absolute path to a local folder |
Procedure RegisterUploadFolder String sPath
Call: | Send RegisterUploadFolder sPath |
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.