Re: [Cppcms-users] Upload large files
Brought to you by:
artyom-beilis
|
From: Marcel H. <ke...@co...> - 2013-05-09 21:48:16
|
On 09.05.2013 20:19, Saikumar Gandapodi wrote:
> We are unable to upload large files. Small files (even multiple files) work
> perfectly well.
> I am trying to upload a 130MB file.
> Our requirement is to upload upto 2GB of data.
I don't think that HTTP is a good protocoll for transfering 2GB of data
to the server. Maybe use another protocoll like ftp/ssh?
Maybe you can create via the webinterface a temporary ssh/ftp access and
upload the data. 2GB are a lot of data and HTTP can't continue its
aborted connections.
> 1. Lighttpd is used as the webserver. There is no config settings at the
> lighttpd.conf file to limit the upload size.
> The line for server.max-request-size is commented out hoping the default
> lighttpd limit is used ( 2GB ).
>
> 2. The size limit in cppcms is set to 2GB.
> "security" : {
> "multipart_form_data_limit" : "2097152"
> },
>
> 3. Getting the following error in lighttpd error.log when a large file
> completes upload from the client.
> 2013-05-09 13:40:34: (mod_fastcgi.c.3068) connection was dropped after
> accept() (perhaps the fastcgi process died), write-offset: 66687
> socket: unix:/tmp/hello-fcgi-socket-0
>
> 4. At the client I am using YUI uploader to upload.
>
> Anything else I am doing wrong ?
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
|