From 50b04690d622469e07f8048d21595143d5e8e108 Mon Sep 17 00:00:00 2001 From: wu xiangkai Date: Thu, 22 Sep 2022 15:35:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=B8=B8=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spring/文件上传和下载/File Upload&Download.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 spring/文件上传和下载/File Upload&Download.md diff --git a/spring/文件上传和下载/File Upload&Download.md b/spring/文件上传和下载/File Upload&Download.md new file mode 100644 index 0000000..4c53764 --- /dev/null +++ b/spring/文件上传和下载/File Upload&Download.md @@ -0,0 +1,8 @@ +# File Upload and Download in Spring Boot +## SpringBoot上传文件配置 +在application.properties中,可以进行如下配置 +```properties +spring.servlet.multipart.enabled=true +spring.servlet.multipart.max-file-size=10MB +spring.servlet.multipart.max-request-size=15MB +``` \ No newline at end of file