码迷,mamicode.com
首页 > 编程语言 > 详细

Python 一行命令ftp服务器

时间:2015-12-11 20:43:50      阅读:346      评论:0      收藏:0      [点我收藏+]

标签:

Obligatory Twisted example:

twistd -n ftp

And probably useful:

twistd ftp --help

Usage: twistd [options] ftp [options].
WARNING: This FTP server is probably INSECURE do not use it.
Options:
  -p, --port=           set the port number [default: 2121]
  -r, --root=           define the root of the ftp-site. [default:
                    /usr/local/ftp]
  --userAnonymous=  Name of the anonymous user. [default: anonymous]
  --password-file=  username:password-style credentials database
  --version         
  --help            Display this help and exit.

 

Python 一行命令ftp服务器

标签:

原文地址:http://www.cnblogs.com/bohaoist/p/5040126.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!