A file upload and download module for Java.
It is out of business and returns a collection of file paths that you can decide how to use and where to use。
-
JDK 8
-
Gradle 7.0.2
-
Spring Boot 2.5.5
POST /appendix/test
Content-Type: multipart/form-data; boundary=WebAppBoundary
--WebAppBoundary
# File upload
Content-Disposition: form-data; name="file"; filename="demo.tar.gz"
Content-Type: application/x-gzip
# Here you specify file to upload
< ../../tar/demo.tar.gz
--WebAppBoundary--
# return a collection of file paths
["\\appendix\\test\\daad5d07-2be6-44fa-978c-1581931a63a2\\demo.tar.gz"] (Windows)
["/appendix/test/daad5d07-2be6-44fa-978c-1581931a63a2/demo.tar.gz"] (Linux/MAC OS)GET /appendix/test/daad5d07-2be6-44fa-978c-1581931a63a2/demo.tar.gz- upload-download-nodejs - A file upload and download module for Node.js.
Feel free to dive in! Open an issue or submit PRs.
Standard Readme follows the Contributor Covenant Code of Conduct.
All contributions are greatly appreciated.
MIT © myifeng