- D Compiler (DMD|LDC|GDC)
# build and run
dub --build=release --parallel
# build only
dub build --build=release --parallel
- Open server address in browser and upload file(s).
- All files stored in the downloads folder (generated by the server) can be downloaded via the browser or curl/wget.
curl -LO <server-url>/<file>
Piping Server in D
Usage: piping-server [OPTIONS]
Options:
--host <HOST> Bind address, either IPv4 or IPv6 (e.g. 127.0.0.1, ::1) [default: 0.0.0.0]
--http-port <HTTP_PORT> HTTP port [default: 0]
--enable-https Enable HTTPS
--https-port <HTTPS_PORT> HTTPS port
--crt-path <CRT_PATH> Certification path
--key-path <KEY_PATH> Private key path
-h, --help Print this help message
-V, --version Print version information
- Ryo Ota original author from Piping Server