02-09-2017 02:28 AM
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?
02-09-2017 01:19 PM
Hi:
Put in your alfresco-global.properties
##
## File size limits (50MB)
##
system.content.maximumFileSizeLimit=52428800
And restart Alfresco repository.
Regards.
--C.
Explore our Alfresco products with the links below. Use labels to filter content by product module.