Set maximum file upload size to unlimited

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 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 ( ,

Hello @stephy

You should set this property in the file since it is client configuration.