• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSURLDownload resumeData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Binding to NSPoint
  • Next by Date: Re: iTunes Database
  • Previous by thread: Binding to NSPoint
  • Next by thread: NSWorkspace openFile: bug?
  • Index(es):
    • Date
    • Thread