Hi,

If you are a user of the Apache Common FileUpload library, you must set them manually, there are no limits in the default values for all those settings :
https://github.com/apache/commons-fileupload/blob/commons-fileupload-1.5/src/main/java/org/apache/commons/fileupload/FileUploadBase.java#L156

If you are a user of Apache Tomcat, which uses a fork of Apache Common FileUpload library, you can configure the maximum number of parameters and files through "maxParameterCount".
https://tomcat.apache.org/tomcat-9.0-doc/config/http.html
Make sure you use the latest Tomcat version to benefit from CVE-2023-24998 fix.

Olivier

On 28/02/2023 17:22, A Name wrote:
Just to confirm the various individual settings (individual file size,
total upload size, number of files) are to be set programmatically or is
there a configuration setting for them in an xml file?

Thanks!

Abt
EXTERNAL SENDER: Do not click any links or open any attachments unless you 
trust the sender and know the content is safe.
EXPÉDITEUR EXTERNE: Ne cliquez sur aucun lien et n’ouvrez aucune pièce jointe à 
moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
l'assurance que le contenu provient d'une source sûre.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to