fserver is a file server.
Download the binary release. or install by go command
go install github.com/netqyq/fserver
start a file server
$ fserver -dir /tmp/www -addr 0.0.0.0:5000
help message
# fserver -h
Usage of fserver:
-addr string
server listen address (default "0.0.0.0:8000")
-dir string
www root directory (default "/tmp/www")
example:
sudo fserver -dir /tmp/share -addr 192.168.0.5:80
MIT