Share your files with web
v: 1.0 \
Share and upload your files from web server
compiled version can download from
https://github.com/wildwind123/webShare/tree/master/compiled
download compiled version
chmod -R 777 web_share
./webShare —path /home —port 8006
open http://your_ip:8006
or just run ./webShare
default path will be file folder, default port will be 8000
web_share.exe
default path will be file folder, default port will be 8000
--port [port] - select port, default = 8000"
--path [fullPath]- select full path, default = programm runned folder
--template [true] - if you want to use yourself template from assets/index.html
--password [password] - set password, username is always 'user'
-h --help - Help
env GOOS=linux GOARCH=386 go build -o compiled/linux86 ; \
env GOOS=linux GOARCH=amd64 go build -o compiled/linux64 ; \
env GOOS=windows GOARCH=386 go build -o compiled/windows86 ; \
env GOOS=windows GOARCH=amd64 go build -o compiled/windows64 ; \
env GOOS=darwin GOARCH=386 go build -o compiled/mac86 ; \
env GOOS=darwin GOARCH=amd64 go build -o compiled/mac64;