[Twisted-Python] FTPClient storeFile help.
oisin at enginesofcreation.ie
Tue Oct 7 13:46:31 EDT 2003
Jp Calderone wrote:
>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
I forgot to mention I've tried this on my linux system
with python 2.2.3 and twisted 1.0.7, with no success.
Engines Of Creation
Email: oisin at enginesofcreation.ie
Work: +353 1 6791602
Mobile: +353 868191540
More information about the Twisted-Python