[Twisted-Python] Example of FTPClient.stor()?

Fred L. Drake, Jr. fdrake at acm.org
Thu Dec 4 12:57:49 EST 2003

Oisin Mulvihill writes:
 > I had trouble grappling with this  as well. As far as I remember stro() 
 > just refers to
 > the storeFile() function in the code.

In the FTPClient implementation, yes.  It doesn't exist in IFTPShell
or FTPAnonymousShell though, which is what makes me think that it is
either a legacy name for the method maintained for backward
compatibility (in which case a comment would clarify immensely), or an
accident of implementation (in which case the storeFile() name can
probably be removed or documented differently).  If neither of those
is the case, then it needs better documentation.

 > Attached should be an example of the final solution I came up with to do 
 > a storeFile().
 > Hopefully this is of some use to you.

Thanks!  I'll take a look at your client code.


Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation

More information about the Twisted-Python mailing list