|
|
|
|
|
by minhmeoke
1030 days ago
|
|
A similar utility (much more bare-bones though) that a friend wrote is https://github.com/akovacs/uploadserver It's basically a nicer version of: python -m http.server 8000
Basically just 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).It works on Windows, Mac, and Linux, and therefore should probably work on FreeBSD as well if you can install a Rust toolchain: pkg install curl
pkg install git
pkg install rust
git clone https://github.com/akovacs/uploadserver
cd uploadserver
cargo run --release
Then navigate to your machine's ip address port 8000 in the browser of your choice and upload files using the web UI or directly via curl: curl -X POST --data-binary @file_to_upload.txt http://localhost:8000/file_to_upload.txt
MIT licensed, so please feel free to do whatever you want with it as long as you provide attribution. |
|