chfs局域网传输工具,支持amd64/arm64/armv7
10K+
文件: wget http://ip:port/chfs/shared/xxx.txt
目录: wget http://ip:port/chfs/downloaddir/xxx.zip
docker run --restart=on-failure:3 -d --name chfs -p 80:80 -v /path/you/dir:/data jonnyan404/chfs
打开 http://ip 即可访问.
docker run --restart=on-failure:3 -d --name chfs -p 80:80 -v /path/you/dir:/data jonnyan404/chfs --port=80 --path=/data
docker run --restart=on-failure:3 -d --name chfs -p 80:80 -v /path/you/dir:/data jonnyan404/chfs --file=/data/xxx.ini
docker run --restart=on-failure:3 -d --name chfs -p 80-90:80-90 -v /path/you/dir:/data jonnyan404/chfs
docker exec -it chfs nohup chfs --port=88 --path=/data/xxx &
OR
docker exec -it chfs nohup chfs --file=/data/yyy.ini &
//共享目录为D盘,监听端口号为8080
chfs --path="d:/" --port=8080
//共享目录为"d:\\projects"和"e:\\nsis",监听端口号为80
chfs --path="d:\\projects|e:\\nsis"
//白名单模式,允许192.168.1.2-192.168.1.100以及192.168.1.200进行访问
chfs --allow="192.168.1.2-192.168.1.100,192.168.1.200"
//黑名单模式,禁止192.168.1.2-192.168.1.100以及192.168.1.200进行访问
chfs --allow="not(192.168.1.2-192.168.1.100,192.168.1.200)"
//匿名用户具有只读权限(默认情况下匿名用户具有读写权限)
//账户ceshizu,密码为ceshizu123,对根目录的权限为只读,但对test目录具有读写权限
//账户yanfazu,密码为yanfazu123,对根目录的权限为只读,但对yanfa目录具有读写权限
chfs --rule="::r|ceshizu:ceshizu123:r:test:rw|yanfazu:yanfazu123:r:yanfa:rw"
//匿名用户什么权限都没有(默认情况下匿名用户具有读写权限)
//账户admin,密码为admin123,具有读写权限
//账户zhangsan,密码为zhangsan123,对根目录的权限为不可读写,但对zhangsanfiles目录具有读写权限
chfs --rule="::|admin:admin123:rw|zhangsan:zhangsan123::zhangsanfiles:rw"
//通过配置文件进行配置,该文件可以不存在,待以后需要更改配置时使用
chfs --file="d:\chfs\chfs.ini"
Content type
Image
Digest
sha256:2b91a70c2…
Size
17.6 MB
Last updated
about 1 year ago
docker pull jonnyan404/chfs