Reputation: 2516
I'm using Spring MultipartFile
in my Spring MVC controller. I know that there is a property which is responsible for handling max file size of MultipartFile
, however I was unable to find out what is the maximum possible value for the property, I mean what is a max files size I can download via MultipartFile
?
Upvotes: 2
Views: 4362
Reputation: 48133
however I was unable to find out what is the maximum possible value for the property
Default value for maxFileSize
of MultipartConfig
is -1
, which means unlimited.
I mean what is a max files size I can download via MultipartFile?
These abstractions are designed to handle file uploads, they're not for downloading files. Checkout the Spring Documentation for more information.
Upvotes: 1