I am using spring boot for uploading files. The files sizes are usually about 2GB and we cannot use the default spring boot StandardServletMultipartResolver or
StandardServletMultipartResolver
This shows how it can be done :
springboot-large-streaming-file-upload-using-apache-commons-fileupload
Look at the answer of balajeerc