Set maximum file upload size to unlimited

Hi,
How to set the maximum file upload size to unlimited in cuba ??
I have tried to upload a file using external api and I set max size to 50 mb in app.properties but it is bnot getting uploaded and i got the following error.

`org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size of 20971520 bytes exceeded; nested exception is org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (31539626) exceeds the configured maximum (20971520)

Thanks and regards…

Hi, try to set max size 50 in both files ( app.properties , web-app.properties)

Hello @stephy

You should set this property in the web-app.properties file since it is client configuration.

Regards,
Daniil