CppCMS
|
#include <cppcms/http_content_filter.h>
Public Member Functions | |
virtual void | on_new_file (http::file &input_file) |
virtual void | on_upload_progress (http::file &input_file) |
virtual void | on_data_ready (http::file &input_file) |
Public Member Functions inherited from cppcms::http::basic_content_filter | |
virtual void | on_end_of_content () |
virtual void | on_error () |
Filter for multipart/form-data - file upload
It allows to process/validate incomping data on the fly and make sure that for example the user is actually authorized to upload such a files
|
virtual |
The entire file data was transfered, its size wouldn't change
Notes:
|
virtual |
New file meta-data of a form field or file is ready: the mime-type, form name and file name if provided are known, the content wasn't processed yet
Notes:
|
virtual |
Some of the file data is available, you can access it and run some validation during upload progress.
Notes: