[Using Sakai] How to set the maximum upload limit for a particular site?

Steve Swinsburg steve.swinsburg at gmail.com
Tue Sep 17 05:40:15 PDT 2013


Ah, of course. There is currently no way to set the max file upload size for individual sites. The code is in the RequestFilter - you could patch your system to pull this value from elsewhere but keep in mind the RequestFilter is used for all requests so needs to be fast.

cheers,
S



On 17/09/2013, at 10:14 PM, Eric DUQUENOY <eric.duquenoy at univ-littoral.fr> wrote:

> Sorry Steve, but your solution is for the quota and not for the maximum upload.
> Le 17/09/2013 13:08, Steve Swinsburg a écrit :
>> Hi,
>> 
>> As an admin, go into the Resources tool for the site. Click Actions > Edit Details on the top level folder and you can set a quota in there. Verify the quota in the Check Quota link.
>> 
>> cheers,
>> Steve
>> 
>> On 17/09/2013, at 7:46 PM, Eric DUQUENOY <eric.duquenoy at univ-littoral.fr> wrote:
>> 
>>> Hi,
>>> there a property in sakai.properties :
>>>  content.upload.max = 40
>>> it's set the The maximum size (in megabytes) allowed for a single file
>>> uploaded using a multipart form.
>>> 
>>> But, it's for all the sakai websites. How to set this limit for only one
>>> website?
>>> 
>>> Thanks
>>> ------------------------------------------------------------------------
>>>  Eric Duquenoy - ULCO
>>> <http://www.univ-littoral.fr>
>>> <http://cueep.univ-littoral.fr/>
>>>  Maître de conférences
>>>  Chargé de mission "Campus numérique"
>>>  Tel. +33.3.21.46.55.32
>>>  Fax +33.3.21.46.55.49
>>> ------------------------------------------------------------------------
>>> 
>>> _______________________________________________
>>> sakai-user mailing list
>>> sakai-user at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>>> 
>>> TO UNSUBSCRIBE: send email to sakai-user-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>> 
>> _______________________________________________
>> sakai-user mailing list
>> sakai-user at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>> 
>> TO UNSUBSCRIBE: send email to sakai-user-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>> 
> 
> 
> -- 
> ------------------------------------------------------------------------
> Eric Duquenoy <http://eric.duquenoy.free.fr> - ULCO
> <http://www.univ-littoral.fr>/CUEEP <http://cueep.univ-littoral.fr/>
> Maître de conférences
> Chargé de mission "Campus numérique"
> Tel. +33.3.21.46.55.32
> Fax +33.3.21.46.55.49
> ------------------------------------------------------------------------



More information about the sakai-user mailing list