Re: [Cppcms-users] CPPCMS and huge file uploads
Brought to you by:
artyom-beilis
|
From: Artyom <art...@ya...> - 2010-08-10 11:21:14
|
Hello,
I've tryed uploading 150Mb files with this setting, no problems.
If you are using 0.99.2.1
Then:
1. Make sure /mnt/root.parent is accessible directory.
2. Make sure that uploaded files has both file name and mime types
provided, otherwise they would be treated as ordinary form fields.
3. Take a look in this directory if temporary files like
/mnt/root.parent/cppcms_uploads_60ddf620746d2b8832c5028bb03a2671.tmp
Are created during upload process.
>
> 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
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
|