[Twisted-Python] FTPClient storeFile help.
exarkun at intarweb.us
Tue Oct 7 11:10:23 EDT 2003
On Tue, Oct 07, 2003 at 01:20:06PM +0100, Oisin Mulvihill wrote:
> Jp Calderone wrote:
> When I run this I get as far as the line:
> d = s.beginFileTransfer(fileObj, consumer)
> This is where it now seems to be hanginig. The file transfer doesn't
> appear to be happening. I noticed from the docs on beginFileTransfer(),
> that it takes 3 args: file object, consumer & transform function. I tried
> adding a transform function to see it gets called with the data, read from
> the file, however this never occured.
This suggests to me that the data connection is never actually being made.
Try adding errbacks to all these deferreds and seeing if any of those are
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20031007/7432c6bd/attachment.pgp
More information about the Twisted-Python