Python 快速实现 FTP 服务器
有时当你想快速搭建一个 FTP 服务器来临时实现文件上传下载时,这是特别有用的。我们这里利用 Python 的 Pyftpdlib 模块可以快速的实现一个 FTP 服务器的功能。首先安装 Pyftpdlib 模块
$ sudo pip install pyftpdlib
The directory '/Users/xiaodu/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/xiaodu/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pyftpdlib
Installing collected packages: pyftpdlib
Successfully installed pyftpdlib-1.5.3
热门日志
分类
- git(9)
- Mac(7)
- C(1)
- memcache(1)
- Python(33)
- Vim(8)
- sed(2)
- ansible(3)
- awk(4)
- shell(3)
- Django(4)
- ssdb(1)
- bat(4)
- svn(0)
- docker(1)
- Tornado(1)
- go(2)
- 架构(20)
- Vue(1)
- game(2)
- AI(3)
- Windows(8)
- Java(8)
- Mysql(38)
- Ajax(2)
- Jsp(1)
- Struts(8)
- Linux(73)
- JavaScript(39)
- Staruml(0)
- Mouth(1)
- Html(6)
- Php(102)
- Message(54)
- Lua(10)
- Compute(1)
- Redis(6)
- Nginx(13)
- Jquery(1)
- Apache(1)
- cocos2d-x(8)
- about(1)
最新日志
随机日志
- 系统思维:站在更高的层面解决问题
- MySQL ORDER BY field1, field2 DESC 和 ORDER BY field1 DESC, field2 DESC 的区别
- 为什么数据库连接很消耗资源?
- 怎样才能遇到自己的“贵人”?
- 逆境乐观,顺境警醒:生活的智慧与力量
- insecure connection not allowed,产生原因及如何解决
- The following untracked working tree files would be overwritten by checkout
- The following untracked working tree files would be overwritten by checkout

