8000 GitHub - hongfeioo/goftp: 2行代码即可实现ftp功能,可见golang的威力,轻松的共享你的目录
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hongfeioo/goftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goftp

轻松共享你的目录 , 类似于: python -m SimpleHTTPServer 80

启动方法

1. linux下的启动方法
./ftp  /data  2121    #第1个参数是你要共享的目录 ,第二个参数是自定义端口

2. windows下的启动方法
ftp.exe  c:  2121      #此时你的c盘已经被共享

用法

客户端从浏览器访问: http://x.x.x.x:2121/
x.x.x.x 代表启动ftp的服务器ip

开发环境

golang 1.8

作者介绍

yihongfei

QQ:413999317
CCIE 38649

寄语

为网络自动化运维尽绵薄之力,每一个网工都可以成为NetDevOps

About

2行代码即可实现ftp功能,可见golang的威力,轻松的共享你的目录

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0