www.beck-ipc.com

@CHIP-RTOS C Library - Common Gateway Interface API


CGI_Install_Func_OnUpload

Install CGI function on http upload requests

int CGI_Install_Func_OnUpload(void far *CgiFuncOnUpload);

Parameters

CgiFuncOnUpload

CGI Function pointer

Return Value

0:    CGI function installed
-1:    CGI function not installed

Comments

The upload handler function will be called after a successful HTTP file upload. It is a CGI function that must be implemented in the same way than a normal CGI function, installed with CGI_INSTALL. For removing the upload handler function install a null pointer.

The name and path of the uploaded file is stored in the CgiRequests fPathPtr element.

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    n/an/an/aV1.30V1.30

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.17

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document