[Twisted-Python] Question: Resuming a failed TCP transfer
itamar at itamarst.org
Sun May 18 21:12:19 EDT 2008
On Sun, 2008-05-18 at 18:47 -0400, Nadav Aharony wrote:
> I'm wondering, is there some built-in Twisted functionality (or any
> other existing implementation using Twisted) for doing
> resumable/disruption tolerant file transfer?
> Sample scenario: A sends file to B, session fails for whatever reason. B
> saved whatever data was received in some temporary structure, and knows
> to resume transfer from where it left off or alternatively request
> specific chunks that it is missing.
> Wanted to know this before I start implementing such functionality on my
Yes, that's what the client factory is for - to store data that needs to
last beyond the life of a single connection. For example see
infrastructure used by twisted.web.client.downloadPage for resumable
More information about the Twisted-Python