https://github.com/bertiewooster/flaskftp
https://github.com/bertiewooster/flaskftp
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bertiewooster/flaskftp
- Owner: bertiewooster
- Created: 2021-06-16T02:38:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-18T01:37:41.000Z (about 5 years ago)
- Last Synced: 2025-01-23T11:48:00.534Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flaskftp
# Upload and download files
## Instructions:
1. Clone this repo to a local folder, for example flaskftp
2. In your shell, change directory to that folder, for example cd flaskftp
3. If desired, create a virtual environment using
3.1. $ python3 -m venv venv
3.2. $ . venv/bin/activate
4. $ pip install -r requirements.txt
5. $ export FLASK_APP=__init__
6. $ flask run
7. Point your web browser to the URL in your shell followed by /uploadfile, typically 127.0.0.1:5000/uploadfile
8. Upload a file; it should appear in the uploads subfolder, for example flaskftp/uploads
9. Download that file; it should be downloaded, and probably be opened by your web browser in an appropriate application