Web file server for download and upload files. Useful for quick file sharing.
Locate to on-server folder and run
go build -o ./bin/on-servercommand to build module.
Execute ./bin/on-server file, open given address with web browser. 🔛
Command-line flags list.
-
-ipServer ip address, if not provided listens to all interfaces -
-portPort number (default "2100") -
-pathServer files root (default current path) -
-message-pathText message files location (default current path) -
-upload-pathUploaded files location (default current path) -
-no-filesDisable files listing -
-no-messageDisable text submit -
-no-uploadDisable file upload -
-send-limitMaximum allowed data to send in MegaBytes (default 64) -
-show-ip6Show IP6 addresses in list if 'ip' not provided -
-enable-indexFix build-in server limit and allow to load index.html file