Set request parsing option for file uploading in case of multipart/form-data encoding.
- Parameters:
-
| request | if request is a NULL pointer, the function allocates, initializes, and returns a new object. otherwise use it. |
| filemode | false(default) for parsing in memory, true for storing attached files to file |
| basepath | the base path where the uploaded files are located. can be NULL if filemode is false. |
| clearold | automatically remove temporary uploading file older than this secconds. to disable, set to 0. |
- Returns:
- an initialized Q_ENTRY* handle, NULL if basepath can not be found.
- Note:
- This method should be called before qCgiRequestParse().
Definition at line 202 of file qCgiRequest.c.