Send files between computers on the same network using the TCP protocol
- Create virtual env for project
python3 -m venv .env && source .env/bin/activate && pip install -r requirements.txt or simply install requirements without venv
pip install -r requirements.txt- Run the program
python3 run.py(If you want to run two instances of it, run run2.py as well. It runs the web server on port 8000 rather than port 5000)
-
Go to
http://127.0.0.1:5000on your web browser (orhttp://127.0.0.1:8000if you are runningrun2.py) -
Make sure that the receiver hits the
Listen for Filebutton BEFORE the sender sends the actual file.
Keep in mind that the File inputs refer to files in the current working directory
- Add multiple port support
- Establish connection before sending file
- Finish pywebview integration