This is a simple local file server, written with Flask.
git clone https://github.com/mecaneer23/local-upload-server/
cd local-upload-server
pip install -r requirements.txt
python3 server.py
- Open this webpage on all devices.
- Upload file(s) using the form.
- Download file(s) onto other device(s) from the list.
Replace SERVER.IP:PORT
with the ip and port provided by the server
curl SERVER:IP:PORT/api
curl SERVER.IP:PORT
curl SERVER.IP:PORT/files/FILENAME -O
curl -F file=@/path/to/file SERVER.IP:PORT/upload/
or
curl -T /path/to/file SERVER.IP:PORT/upload/
curl SERVER.IP:PORT/delete/FILENAME
Replace FILENAME
with the file you want to delete