Limiting the upload file size

Last modified by superadmin on 24.01.2017

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"
          maxPostSize="2097152" />
Created by superadmin on 31.03.2016
Translated into en by superadmin on 19.07.2016
Copyright 2000-2020