[Twisted-Python] How do I upload files using FTPClient?

Andrew Bennetts andrew-twisted at puzzling.org
Tue Apr 8 20:57:16 EDT 2003

On Tue, Jan 07, 2003 at 10:37:22AM +1100, Andrew Bennetts wrote:
> On Mon, Jan 06, 2003 at 10:14:18AM -0800,  Daniel Burr wrote:
> > 
> > I've experimented with twisted.protocols.ftp.FTPClient, and the one thing I
> > can't seem to grok is how to perform file uploads.  I've read through the
> > code, and it seems that the FTP server class supports RETR and STOR, using
> > DTPFactory, while FTPClient only supports RETR, and implements it
> > independently.
> Yes, that's my fault.  I haven't gotten around to that yet -- I might have a
> stab at it tonight, it shouldn't actually be that hard.  I'll try to make sure
> I get this done in time for the 1.0.2 release.


Ok, so it took slightly longer than that...

Thanks to working on this with Chris at PyCon, there is now STOR support for
the FTPClient, currently only in CVS, but it will be in the next release.


More information about the Twisted-Python mailing list