How can I set a size limit for files uploaded in Alfresco 4.2.c?

淺唱寂寞╮ 提交于 2019-12-06 13:32:15

Assuming it is enough to enforce the size limit for uploads in share, following http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fdev-extensions-share-module-dynamic-configuration.html should give you what you want.

Put the limits such as

<in-memory-limit>262144000</in-memory-limit>
<maximum-file-size-limit>0</maximum-file-size-limit>

in share-config-custom.xml and it should be good to go.

If you have a dynamic limit size, you add your script in upload.post.js and in client side you can test the limit size in dnd-upload.js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!