FileDownload - cWebResourceManager

Called by the file download handler to get the local file path

Type: Function

Return Data Type: Boolean

Parameters: String sResource String ByRef sPath Integer ByRef iHttpErr String ByRef sHttpError

ParameterDescription
sResourceFile name
sPath (ByRef)File path
iHttpErr (ByRef)HTTP error number
sHttpError (ByRef)HTTP error text


Return Value

The local server file path of the file to be downloaded


Syntax
Function FileDownload String sResource String ByRef sPath Integer ByRef iHttpErr String ByRef sHttpError Returns Boolean

Call: 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.