[Twisted-Python] Re: Re: Re: Resume FTP file retrieval

Richard.Townsend at edl.uk.eds.com Richard.Townsend at edl.uk.eds.com
Thu Jan 8 07:38:04 MST 2004


Hi Andrew,
 
Many thanks for the patch.
 
I had to fix 3 typos to get it to run:
 
Line 1867 needs an extra closing parenthesis:
             cmds.insert(0, ('REST ' + str(offset)))
 
Line 1868 needs the missing 'cmds' parameter:
         return self.receiveFromConnection(cmds, protocol)
 
Line 1885 needs an extra closing parenthesis:
             cmds.insert(0, ('REST ' + str(offset)))
 
My test program then successfully did a partial download!
 
Best regards,
Richard Townsend
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20040108/2c125c73/attachment.html>


More information about the Twisted-Python mailing list