Total Pageviews

Thursday, 8 April 2021

http-file-server


登陆linux vps.首先安装go环境,然后,

cd $GOPATH
go get -u -v github.com/iikira/http-file-server/

http-file-server -path /path/to/some-dir -port 2345


在浏览器里访问vps-public-ip:2345即可看到服务器上的some-dir目录的内容。


项目地址:https://github.com/iikira/http-file-server

No comments:

Post a Comment