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.
- The name and path of the uploaded file is stored in the CgiRequests fPathPtr element.
|pathPtr||URI for which the upload callback should be installed.|
|CgiFuncOnUpload||Pointer to CGI handler function|
- zero on success, -1 on failure.
- See also
- CGI_Install(), CGI_Enable_Upload(), CGI_Install_Func_OnErr()