This function installs a CGI handler function that will be called when an HTTP file upload was performed. The CGI function must be implemented in the same way as a CGI function, installed with CGI_Install(). For deleting an entry, install a null pointer.
- Note:
- The name and path of the uploaded file is stored in the CgiRequests fPathPtr element.
- Parameters:
-
| CgiFuncOnErr | Pointer to CGI handler function |
- Returns:
- zero on success, -1 on failure.
- Since:
- SC2x3 V1.02 - CLIB V1.02
- See also:
- CGI_Install(), CGI_Enable_Upload(), CGI_Install_Func_OnErr()