Use server.max_request_body_size.  Eg, add to config:

# Max upload size: 150 MB
server.max_request_body_size = 157286400

Cheers
CM


On 9 Jun 2007, at 09:07, Andrej wrote:

>
> I'm using the FileField widget to upload a large ~ 300MB file and I
> get the error bellow. Is there way to increase the limit?
>
> Thank you,
> Andrej
>
> 413 Request Entity Too Large
>
> Entity is too large.
>
> Page handler: None
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/
> cherrypy/_cphttptools.py", line 98, in _run
>     self.processBody()
>   File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/
> cherrypy/_cphttptools.py", line 233, in processBody
>     raise cherrypy.HTTPError(413)
> HTTPError: 413
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to