[Twisted-Python] Example of FTPClient.stor()?
oisin at enginesofcreation.ie
Thu Dec 4 12:20:30 EST 2003
Fred L. Drake, Jr. wrote:
>Does anyone have a (short) example using FTPClient.stor()? I'm pretty
>new to Twisted, and am still getting the hang of the model of using
>(The presence of both stor() and storeFile() in the docs is confusing
>as well; a quick glance through twisted.protocols.ftp's source makes
>me think that stor() is the preferred name, and storeFile() is an
>implementation detail. Is that right?)
I had trouble grappling with this as well. As far as I remember stro()
just refers to
the storeFile() function in the code.
Attached should be an example of the final solution I came up with to do
Hopefully this is of some use to you.
All the best,
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Twisted-Python