简体   繁体   中英

How to configure Multipart file size in application.yml?

如果我想将多部分文件设置为无限大小的文件上传,我应该如何配置 application.yml 文件以设置相同?

In addition to configuring max file size, you may also need to configure max request size if you have a single file that's greater than 10MB or you want to upload multiple files in the same request with sizes that total more than 10MB.

The exact properties that need to be used depend on the version of Spring Boot that you are using as they changed in 1.4 :

It's already answered in multi-part file size in applicaiton.yaml

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM