- enable login page
- uploadfile
- downloadfile
- docker image
$ git clone https://github.com/neilkuan/flask-uploadfile.git
$ cd flask-uploadfile/
$ export URL='0.0.0.0'
$ python app.py
open your browser http:https://localhost:8080
# default login admin/admin
docker run -d -p 8080:8080 ghcr.io/neilkuan/flask-uploadfile/flask-uploadfile:latest
docker-compose up -d
$ touch aa.tar
$ curl -X POST -F file=@"aa.tar" http:https://localhost:8080/uploadfile
$ wget http:https://localhost:8080/downloadfile/aa.tar
$ curl -X DELETE http:https://localhost:8080/deletefile/aa.tar
export PASSWORD=admin