If you want to literally just download a file, the simple option is to use NSURLDownload. It's fairly straightforward, an asynchronous.

On 6 Oct 2008, at 18:04, Mark Thomas wrote:

Hi All,
 I was looking at downloading some files, and started to look at
NSFileManager to create the file, and then saw I could use NSData to load the data via a NSURL, so this look's pretty straight forward and very small
code for downloading files.

So I'm wondering what is the downside of using this technique, as I guess
maybe these API block ?

Thanks any pointers,
Mark.


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to