There is no central control for file size other then server wide file upload 
limit.

For individual file uploads to DMS you can extend  DMSDialogFileControl and in 
its validate() method you can add extra check for size.
This will not affect the zip upload. There you would need to extend ZipUpload 
handler and override its processEntry() method to add extra check for size ... 
unfortunately that method is private.

Ideally you would add file size limit to the DMS configuration and have 2 
classes above read the value from there ... feel free to create enhancement 
issue and provide a patch ;)

HTH,
Jan

On May 19, 2011, at 9:35 PM, Rakesh Vidyadharan wrote:

> Is there some configuration that could be used to limit the max file size for 
> upload to the DMS?  We would like to limit uploads to 30Mb (the limit for 
> documents indexed by our Google Mini).  This can create some issues when 
> uploading ZIP files with images I suppose, but still the question was asked 
> at a meeting, and I did not find any interesting items in the documentation 
> site search.
> 
> Thanks
> Rakesh
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to