FileUpload - cWebResourceManager
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 |
| sHash | String | Hash 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 sHash ByRef String sPath ByRef Integer iHttpErr ByRef String sError Returns Boolean
Call Example
Get FileUpload sFileName sHash 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.