Start a conversation

Limit Maximum Upload File Size Allowed

From version 1.00.253 or later, it is possible to restrict the system and limit the maximum file size which can be uploaded into the database.

This can be useful to prevent users dragging overly large files into the system by accident, or to prevent excessive storage use.


Example:

In the example below the system has been set to allow a maximum file size of 2mB


Attempting to import a file larger than 2mB will display the warning. At this point the user will need to compress the file before storing it. (e.g. use ZIP to make a smaller copy)


System Setup

The feature is activated with an environment variable called MAXFILESIZE
Simply set this to the maximum allowed size (in mB)

e.g.

ENV("MAXFILESIZE")="2"


To activate the feature, please contact Influence in order to set the environment variable.


Choose files or drag and drop files
Helpful?
Yes
No
  1. Graeme Orchard

  2. Posted
  3. Updated

Comments