[Twisted-Python] FTP Client protocol for Twisted..
Hi, I just joined the list. For your public enjoyment I present an FTPClient protocol implementation for Twisted. The class definition: http://m.bacarella.com/playground/ftpclient.py Example code: http://m.bacarella.com/playground/exftpclient.py ftpclient.py should go into twisted/protocols to use the example. You may decide that it's better to suck it into a different file. The example simply logs into ftp.uu.net (anonymous), retrieves and prints a directory listing, and then exits. I developed it because I wanted to use Twisted for an IRC bot which needed to be able to index FTP sites, so I basically stopped once it met my needs. Sorry if it's missing some features.. Comments or suggestions are welcome. -- Michael Bacarella | 545 Eighth Ave #401 | New York, NY 10018 Systems Analysis & Support | mike@bacarella.com Managed Services | 212 946-1038
participants (1)
-
Michael Bacarella