FileUpload - cLocalWebResourceManager
Called by the file upload handler to get the local path to store the file
Type: Function
Return Data Type: Boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
| sFileName | String | File name of uploaded file |
| sKey | String | Hash key received with uploaded file |
| ByRef sPath | String | Path to the file |
| ByRef iHttpErr | Integer | HTTP error number |
| ByRef sError | String | HTTP error text |
Syntax
Function FileUpload String sFileName String sKey ByRef String sPath ByRef Integer iHttpErr ByRef String sError Returns Boolean
Call Example
Get FileUpload sFileName sKey sPath iHttpErr sError to BooleanVariable
Description
FileUpload is called by the file upload handler to get the local path to store the file.
The file name and the hash received with the file upload are passed as parameters. It validates the session, performs the required decryption and returns the local file path if all valid.
You will probably not use this.