A useful utility that a friend wrote is https://github.com/akovacs/uploadserver - it's basically a nicer version of:
python -m http.server 8000
Start the file server, and then navigate to it using the web browser of your choice on any device (no need for a client application).
chmod +x upload_server ./upload_server
curl -X POST --data-binary @file_to_upload.txt http://192.168.1.X:8000/uploaded_file.txt
curl http://192.168.1.X:8000/uploads/uploaded_file.txt --output downloaded_file.txt
# install rust toolchain sudo apt install rustc git curl https://sh.rustup.rs -sSf | sh rustup install nightly rustup default nightly git clone https://github.com/akovacs/uploadserver cd uploadserver cargo run --release
A useful utility that a friend wrote is https://github.com/akovacs/uploadserver - it's basically a nicer version of:
Download prebuilt binaries for Linux, Windows, Mac OS from https://github.com/akovacs/uploadserver/releases/ or install from source if you prefer [1]Start the file server, and then navigate to it using the web browser of your choice on any device (no need for a client application).
Navigate to the server's ip address port 8000 in the browser of your choice and upload files using the web UI or directly via curl: Then download the file to another machine or mobile device either from your web browser or via a commandline tool: [1] Steps for installing from source code: