• 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: NSURLDownload step by step
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLDownload step by step


  • Subject: Re: NSURLDownload step by step
  • From: Scott Anguish <email@hidden>
  • Date: Tue, 20 Jan 2004 15:13:15 -0500

You'd have to move to using NSURLConnection rather than NSURLDownload and manage all the disk caching yourself. In addition, for continued downloads you'd need to pass a new header field with the starting offset.

Or, file a bug and ask that NSURLDownload support it natively. :-)

On Jan 20, 2004, at 10:11 AM, Lorenzo 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
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSURLDownload step by step
      • From: Lorenzo <email@hidden>
    • Re: NSURLDownload step by step
      • From: Lorenzo <email@hidden>
    • Re: NSURLDownload step by step
      • From: Lorenzo <email@hidden>
References: 
 >NSURLDownload step by step (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: *****SPAM*****How to convince company I should switch to Cocoa
  • Next by Date: Localization question
  • Previous by thread: Re: NSURLDownload step by step
  • Next by thread: Re: NSURLDownload step by step
  • Index(es):
    • Date
    • Thread