NSURL question
NSURL question
- Subject: NSURL question
- From: Steve Mykytyn <email@hidden>
- Date: Fri, 8 Feb 2002 11:17:33 -0800
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 NS
Data: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.