Parameter | Description |
---|---|
sFileName | File name of uploaded file |
sHash | Hash received with uploaded file |
sPath (ByRef) | Path to the file |
iHttpErr (ByRef) | HTTP error number |
sError (ByRef) | HTTP error text |
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 |
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.