FileDownload - cWebResourceManager
Called by the file download handler to get the local file path
Type: Function
Return Data Type: Boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
| sResource | String | File name |
| ByRef sPath | String | File path |
| ByRef iHttpErr | Integer | HTTP error number |
| ByRef sHttpError | String | HTTP error text |
Syntax
Function FileDownload String sResource ByRef String sPath ByRef Integer iHttpErr ByRef String sHttpError Returns Boolean
Call Example
Get FileDownload sResource sPath iHttpErr sHttpError to BooleanVariable
Description
FileDownload is the method that is called by the file download handler.
If verifies the download and retrieves the file path. It checks for proper sessions, timeouts and performs the required decryptions before returning the file path. You will probably not use this.
Return Value
The local server file path of the file to be downloaded