« Back

Configure your file upload settings from control panel

Company Blogs April 14, 2009 By Brett Swaim Staff

You can now configure your File Upload settings from control panel (5.2.3+), including allowed extensions and max file sizes!

 

Threaded Replies Author Date
Hi Brett, Do you know how configure the maximum... Omar Rosales . April 16, 2009 4:54 PM
this is done in portal.properties. Take the... Brett Swaim April 16, 2009 5:15 PM
Hi Brett, Nice new feature, but I have one... RoK . April 18, 2009 9:09 AM
Hey RoK, You are absolutely right, and when I... Brett Swaim April 18, 2009 11:14 AM
Hi, Where can i download 5.2.3? dan s May 6, 2009 5:04 AM
5.2.3 hasn't been released yet, but you can... Brett Swaim May 6, 2009 6:18 AM
Nice job, Brett. I was just getting ready to... Joshua Asbury May 8, 2009 11:01 AM
Exactly what I was thinking. One of the pluses... Brett Swaim May 8, 2009 11:11 AM
Yes I think that per community is good enough... RoK . June 5, 2009 1:36 AM
Hi there.. Congrats to all people working on... Claudio Patricio Rifo August 13, 2009 6:18 AM
Thanks for this info. I'm trying to adjust my... Kirk Stork March 17, 2011 11:07 AM
It appears that we aren't checking in the... Brett Swaim March 17, 2011 1:06 PM

Hi Brett,
Do you know how configure the maximum file size in the version 5.2
Posted on 4/16/09 4:54 PM.
this is done in portal.properties. Take the portal.properties settings for the document library and add them to your portal-ext.properties file.
Posted on 4/16/09 5:15 PM in reply to Omar Rosales ..
Hi Brett,
Nice new feature, but I have one comment. It is good to have general settings portal wide, but in practice these values will vary per community (or organisation). The platforms I used to work with could all configure this per community/group (or better: per portlet).
Posted on 4/18/09 9:09 AM.
Hey RoK,

You are absolutely right, and when I was implementing this my original intention was to make a global setting like I did here, as well as a community specific setting. Think of this as the first step to easier modification with plans to make it more granular as time goes on. The one thing I wasn't sure about was if I should make the setting on a per portlet basis, portal wide, system wide, or what. Would you feel that per community would be granular enough?

Brett
Posted on 4/18/09 11:14 AM in reply to RoK ..
Hi,

Where can i download 5.2.3?
Posted on 5/6/09 5:04 AM in reply to Brett Swaim.
5.2.3 hasn't been released yet, but you can always download the source code for Liferay and get a snapshot of what's coming up!
Posted on 5/6/09 6:18 AM in reply to dan s.
Nice job, Brett. I was just getting ready to delve into changing some portal-companyID.properties files when I remembered this post. This is certainly very helpful since it gets pretty painful managing this kind of stuff across instances. To answer your questions, I think that type of stuff should be separated by communities/organizations (with different settings for public vs. private) and instances. Getting down into the thick of per-portlet settings might become cumbersome very quickly.
Posted on 5/8/09 11:01 AM in reply to Brett Swaim.
Exactly what I was thinking. One of the pluses of working for Liferay is that I get to do core stuff for a while, then roll out to a project and get some more real world experience. Once I finish the project I'm on I'll get to narrowing this scope down.
Posted on 5/8/09 11:11 AM in reply to Josh Asbury.
Yes I think that per community is good enough for the time being...
Posted on 6/5/09 1:36 AM in reply to Brett Swaim.
Hi there.. Congrats to all people working on the control pannel..
i'm using it a lot under 5.2.3.

Just some feedback.
Everytime you speak about file size you shoud specifie on what unit must file size be.
For instance MB GB KB, etc.
Posted on 8/13/09 6:18 AM.
Thanks for this info.

I'm trying to adjust my portal to accept large files (250MB and up). These are video files.

I'm on LR 6.0.5 CE, Tomcat 6, with the document library set to use Jackrabbit on the file system.

I've adjusted, using the control panel as described above, the General and Document Library file sizes to

4000000000

Which I' believe should translate to about 4GB.

But even at 250MB, I get "there was a problem" on the upload page, and a "exceeded file size" in the logs.

You don't get this failure until you've waited the 30 or 40 minutes for the file to upload.

Is there someplace other than this control panel setting that might be imposing a cap on my file size?

Thanks
Posted on 3/17/11 11:07 AM.
It appears that we aren't checking in the database for a few file types, simply change this in your portal-ext.properties file:

com.liferay.portal.upload.UploadServletRequestImpl.max.size=10485760000

That should get you going.
Posted on 3/17/11 1:06 PM in reply to Kirk Stork.