[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 09:38:04 EST 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: http://twistedmatrix.com/pipermail/twisted-python/attachments/20040108/2c125c73/attachment.htm 


More information about the Twisted-Python mailing list