• 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: NSURL question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURL question


  • Subject: Re: NSURL question
  • From: email@hidden
  • Date: Fri, 8 Feb 2002 14:56:22 -0500

Sounds like you might want to use Watson. See:

http://www.karelia.com/watson/

Brian E. Howard
Cocoa Cult Central

On Friday, February 8, 2002, at 02:17 PM, Steve Mykytyn wrote:

I have a running Cocoa app that easily pulls in local data in a variety of US govt formats, but would like to provide easy access to a large collection of online resources using URLs. So I would like the app to:

1. construct a URL corresponding to a publicly available US government zipped data file based on user input - easy

2. download directly to disk, unzip it, and be notified when complete - can't quite see how to do this in Cocoa.

While it looks like NSData:initWithContentsofURL would do part of this, i'
m guessing i would end up with the zipped file in memory and then have to figure out how to deal with it. The problem with this is that some of these zipped files are somewhat large (say 20MB).

Pre-Cocoa/OSX, I guess I would have tried to get the installed browser to do the download, and then periodically check to see if it was finished. clunky.

Any suggestions or pointers?
_______________________________________________
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.
_______________________________________________
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.

References: 
 >NSURL question (From: Steve Mykytyn <email@hidden>)

  • Prev by Date: Re: Two ?'s: Default code for NSView & FileMerge problem
  • Next by Date: Re: Final (cleanup) drawing event?
  • Previous by thread: NSURL question
  • Next by thread: Re: Two ?'s: Default code for NSView & FileMerge problem
  • Index(es):
    • Date
    • Thread