IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page

◆ CGI_Install_Func_OnUpload()

int CGI_Install_Func_OnUpload ( const char *  pathPtr,
void *  CgiFuncOnUpload 

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.
pathPtrURI for which the upload callback should be installed.
CgiFuncOnUploadPointer to CGI handler function
zero on success, -1 on failure.
See also
CGI_Install(), CGI_Enable_Upload(), CGI_Install_Func_OnErr()

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Tue Jul 10 2018 14:54:14 by Doxygen 1.8.13