您的位置:首页 > 编程语言 > Python开发

Python 一行命令ftp服务器

2015-12-11 20:15 405 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: