• 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
Re: resume file with NSURLDownload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: resume file with NSURLDownload


  • Subject: Re: resume file with NSURLDownload
  • From: Wain Glaister <email@hidden>
  • Date: Wed, 27 Dec 2006 12:36:43 +0000

Hi,

Have you tried - (NSData *)resumeData and - (id)initWithResumeData: (NSData *)resumeData delegate:(id)delegate path:(NSString *)path and found a problem?

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ Classes/NSURLDownload_Class/Reference/Reference.html

Wain

On 27 Dec 2006, at 12:23, Lesin, Vladislav wrote:

Hi,

I use to download a large file from the web using the NSURLDownload
APIs.

Anyway if the user quits during the download, I lose the whole download.

And the next time the user launchs the same download, I have to download
the file again from the beginning. Instead I would like to save the
downloaded data to a file on the local disk (e.g. File_001_Temp.txt) before
quitting, and, at the next time the user re-launchs the SAME download, I append
the new data to that file.


How can I do download a file step by step?

Any idea, sample code, would be appreciated. Thank you.
_______________________________________________

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


References: 
 >resume file with NSURLDownload (From: "Lesin, Vladislav" <email@hidden>)

  • Prev by Date: Re: resume file with NSURLDownload
  • Next by Date: Re: MySQL and Cocoa - looking for samples, kits, docs, etc
  • Previous by thread: Re: resume file with NSURLDownload
  • Next by thread: NSBezierPath from NSImage
  • Index(es):
    • Date
    • Thread