3.21. Limiting size of uploaded files

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

Files can be uploaded in multiple applications such as Documents, Wiki, Forum, ... The maximum allowed size for the uploaded files can be changed by configuration for each application.

In Documents application

When you upload a file in Documents or Sites Explorer, its size is limited to 200 MB by default.

To change this limit, edit the exo.ecms.connector.drives.uploadLimit property in exo.properties file.

For example:

exo.ecms.connector.drives.uploadLimit=300

Note

As of 4.1, this configuration also takes effect on files uploaded from Activity Stream (using the Share function).

In activities posts and comments

In a message post or a comment, it is possible to attach an image through the CKEditor. By default the image size is limited to 200 MB.

You can change this limit by editing the value of the exo.social.activity.uploadLimit property in exo.properties file.

For example:

exo.social.activity.uploadLimit=200

In Wiki application

Same as for the previous applications, files upload size in Wiki is limited, by default to 200 MB which could be redefined through the property exo.wiki.attachment.uploadLimit in exo.properties file.

For example:

exo.wiki.attachment.uploadLimit=200

In Forum application

In forum application, you can upload files as attachements in topics or import a whole forum to eXo Platform forum application. Both sizes could be defined through these properties:

Note

The size is in MB for all the above properties.

Warning

If you are using eXo Platform in JBoss application server, note that in addition to the parameters described above aiming to customize files size, you should configure the value of the parameter max-post-size in standalone/configuration/standalone-exo.xml which is set by default to 200 MB in eXo Platform package.


<http-listener name="default" socket-binding="http" redirect-socket="https" max-post-size="209715200"/>

Tip

For any others file upload location, the maximum file size is defined by the property exo.uploadLimit:

exo.uploadLimit=10

Default value set to 10 Mb.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus