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

Hi Andrew, I have tried to follow the code in FTPClient. It looks like the _openDataConnection() method is responsible for sending the PORT/PASV before the RETR. However, I'm not sure how it could be safely modified to send a REST between the two requests. I need this facility to be able to resume a partial download when transferring large files over an unreliable comms link. Would you or another of Twisted experts be able to help make this change? thanks, Richard Townsend (2nd attempt to post this)

On Tue, Jan 06, 2004 at 03:37:21PM -0000, Richard.Townsend@edl.uk.eds.com wrote:
Hi Andrew,
I have tried to follow the code in FTPClient.
You're brave ;)
You've found the right spot -- but as you've probably noticed, it's probably the hairiest code in the entire class.
I've attached a completely untested patch! Let me know how it goes. -Andrew.

On Tue, Jan 06, 2004 at 03:37:21PM -0000, Richard.Townsend@edl.uk.eds.com wrote:
Hi Andrew,
I have tried to follow the code in FTPClient.
You're brave ;)
You've found the right spot -- but as you've probably noticed, it's probably the hairiest code in the entire class.
I've attached a completely untested patch! Let me know how it goes. -Andrew.
participants (2)
-
Andrew Bennetts
-
Richard.Townsend@edl.uk.eds.com