You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andrew Le Quesne <an...@nexusalpha.com> on 2006/02/20 16:55:25 UTC

Problem with upload widget

Hello,

I have been having problems getting the upload widget to upload files larger
than a certain size in cocoon 2.1.8.
e.g. a file of circa 100kb was ok but not one of 998kb. Is there a max file
size? Sometimes having issues with pdf/zip files although the 
mime-types have been set in the definition file.

Has anyone else had similar problems?

Andrew

Re: Problem with upload widget

Posted by Simone Gianni <s....@thebug.it>.
Hi Andrew,
yes, there is a max file size, and you can change it with the 
upload-max-size parameter in the web.xml file. By default it is 
commented out in the web.xml, and defaults to 10 megabytes, so i think 
this is the problem you have while uploading file near 10 megs. If you 
need larger uploads you can decomment it and place your maximum file 
size (in bytes) in the param-value.

Hope this helps,
Simone

-- 
Simone Gianni

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org