Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 515 Bytes

README.md

File metadata and controls

30 lines (27 loc) · 515 Bytes

fserver

fserver is a file server.

Installation

Download the binary release. or install by go command

go install github.com/netqyq/fserver

Usage

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

License

MIT