我在我的 Spring MVC Controller 中使用 Spring MultipartFile
。我知道有一个属性负责处理 MultipartFile
的最大文件大小,但是我无法找出该属性的最大可能值是多少,我的意思是最大文件大小是多少我可以通过 MultipartFile
下载吗?
最佳答案
however I was unable to find out what is the maximum possible value for the property
maxFileSize
的默认值为 MultipartConfig
为-1
,表示无限制。
I mean what is a max files size I can download via MultipartFile?
这些抽象旨在处理文件上传,而不是下载文件。查看Spring Documentation获取更多信息。
关于java - Spring 多部分文件最大大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37467159/