[Cppcms-users] CPPCMS and huge file uploads
Brought to you by:
artyom-beilis
From: Julian P. <ju...@wh...> - 2010-08-10 10:46:35
|
Hallo, I'm currently implementing an application which requires that files of approx. 130 MB can be uploaded via multipart/form-data-POST. While files of smaller sizes (tested with up to 10MB) work, the file of 130 MB does not. As it seems, the file is simply missing (my script gives error output to user if the file has not been uploaded, and when the big file is uploaded it indicates that the file is missing). On the page with the upload form, two file fields are specified: a checksum file (32 Bytes) and the image file. The checksum file is uploaded correctly everytime, but the image file only if its not too big. This is my config.js which should contain the required settings for uploads of this size: { "service" : { "api" : "http", "ip" : "0.0.0.0", "port": 4444 }, "security" : { "multipart_form_data_limit" : 3000000, "uploads_path": "/mnt/root.parent" }, "logging" : { "level": "debug" } } Because of memory constraints, the uploads_path is set to another than the default location. Does this work in the current beta release (0.99.2.1) or do I have to use SVN? As you see, there is no other webserver which could put constraints on upload file size, currently the HTTP implementation of CPPCMS is used. There are no error outputs on stderr concerning a too big POST size, only logs of the HTTP requests. Help is greatly appreciated, Julian |