root@hostname:/home/shimizu# aptitude install python-pyftpdlib 以下の新規パッケージがインストールされます: python-pyftpdlib ... root@hostname:/home/shimizu# cat ftp.py from pyftpdlib import ftpserver authorizer = ftpserver.DummyAuthorizer() authorizer.add_user('hoge_user', 'hoge_password', '/home/guest/', perm=('elradfmw')) ftp_handler = ftpserver.FTPHandler ftp_handler.authorizer = authorizer address = ("49.212.204.46", 3000) ftpd = ftpserver.FTPServer(address, ftp_handler) ftpd.serve_forever() root@hostname:/home/shimizu# python ftp.py Starting FTP server ...
http://itpro.nikkeibp.co.jp/members/NNW/NETHOT/20030131/1/
http://atasatamatara.hatenablog.jp/entry/20120814/1344940288
https://code.google.com/p/pyftpdlib/wiki/Tutorial