You can change the maximum allowed file size for file uploads for the upload form element, as well as the maximum size for uploads in the inbox.

An error will be displayed when files larger than this limited are uploaded.

You can find the configuration file here: TOMCAT_DIRECTORY/conf/server.xml

To change the maximum upload file size limit, the following option must be set on the connector:

maxPostSize="maximum size in bytes"

Example to restrict uploads to 2 MB

Note that 2 MiB are equal to 2097152 bytes.

<Connector port="80" protocol="HTTP/1.1"
          connectionTimeout="20000"
          redirectPort="8443"
          maxPostSize="2097152" />
Tags:
Copyright 2000-2025