[Twisted-Python] Ftp client
Michele Petrazzo
michele.petrazzo at unipex.it
Thu Aug 4 08:09:23 MDT 2005
Andrew Bennetts wrote:
> On Thu, Aug 04, 2005 at 11:30:43AM +0200, Michele Petrazzo wrote:
>>Strange. Do you want that I change something to understand the problem?
>>This happen also with the demo "ftpclient.py"!
>
>
> If you can figure out why, I'd be happy, but I don't have time to
> investigate right now (I'm quite busy atm, which is why my replies are so
> brief, sorry).
>
I'll try next week. Now I have to modify my code to make the
HylafaxFTPFileListProtocol work! :)
>>What the are more right way (the advice method) to proceed? Simple
>>override that method or create a new HylafaxFTPFileListProtocol ?
>
>
> Create a new HylafaxFTPFileListProtocol would be simplest, I think.
>
Ok, I'll try
>
>>>Sorry, I was too hasty here -- you also need to change your errback
>>>to print failure.subFailure or perhaps failure.subFailure.subFailure
>>>rather than just failure.
>>
>>After some code tries, I receive this response:
>>user login that has no password : [1]
>
>
> Ok, so your FTP server requires a password.
>
No, the server don't required a password, so if the ftp library send the
"PASS" command, it "anger".
>>I attach a diff file that solve my problem with the empty password and
>>the "PASS" command. For me it work well. I'll very happy if you include
>>my patch!
>
>
> Interesting. Please file this at http://twistedmatrix.com/bugs, assign to
> spiv. Also, please use unified diffs ("diff -u") if you can.
Done, issue 1130
>
> I think perhaps passing password=None might be a better way than
> sendPass=False, I'll think about it.
>
> Thank you very much!
>
Thank you to you for all the help.
> -Andrew.
>
Michele
More information about the Twisted-Python
mailing list