NSURLDownload resumeData
NSURLDownload resumeData
- Subject: NSURLDownload resumeData
- From: dancedrummer <email@hidden>
- Date: Fri, 5 Jan 2007 10:02:43 -0800
Greetings.
I've got a simple download application that "throttles" a large
download in short bursts. Basically downloads for a second, then
waits a calculated amount of time to start the next segment. When the
download gets paused [NSURLDownload resumeData] gets written to a
file. This file then gets read into an NSData object and passed to
initWithResumeData. This all works fine as long as the application is
running. When it is terminated and started up again, it resumes
loading the data but gets corrupted somehow. Seems like there is some
overlap or gap in the data but I can't be sure. Any information that
sheds some light on this, perhaps some exponent of using resumeData
that I may not be accounting for or even know about, would be greatly
helpful.
Thanks in advance.
dd
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden