FileUpload - cWebResourceManager

Called by the file upload handler to get the local path to store the file

Type: Function

Return Data Type: Boolean

Parameters: String sFileName String sHash String ByRef sPath Integer ByRef iHttpErr String ByRef sError

ParameterDescription
sFileNameFile name of uploaded file
sHashHash received with uploaded file
sPath (ByRef)Path to the file
iHttpErr (ByRef)HTTP error number
sError (ByRef)HTTP error text


Return Value


Syntax
Function FileUpload String sFileName String sHash String ByRef sPath Integer ByRef iHttpErr String ByRef sError Returns Boolean

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