Alfresco Community 4.2.f need help to limit the file upload size

cancel
Showing results for 
Search instead for 
Did you mean: 
roxanaelena
Member II

Alfresco Community 4.2.f need help to limit the file upload size

Hi! I am using Alfresco Community 4.2.f and I need to limit the size of the files uploaded to 50MB. I have been trying configuration changes, like 

<maximum-file-size-limit>52428800</maximum-file-size-limit>
<in-memory-limit>262144000</in-memory-limit> in share-config-custom.xml but it is not working.

After I have read all the comments found on the internet I have reached the conclusion that configuration changes do not work for Alfresco community 4.2.f, so a code change is necessary.

Could someone please help me?

1 Reply
cesarista
Customer

Re: Alfresco Community 4.2.f need help to limit the file upload size

Hi:

Put in your alfresco-global.properties

##
## File size limits (50MB)
##
system.content.maximumFileSizeLimit=52428800

And restart Alfresco repository.

Regards.

--C.