A file upload and download module for nodejs.
It is out of business and returns a collection of file paths that you can decide how to use and where to use。
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-java - A file upload and download module for Java.
Feel free to dive in! Open an issue or submit PRs.
Standard Readme follows the Contributor Covenant Code of Conduct.
MIT © myifeng