alexyorke
alexyorke

Reputation: 4299

Download file without NSUrl/CFNetwork

I would like to download a file without using NSURL/NSURLDownload/CFNetwork. I would like to use something else because I am having issues with people using snow leopard. I have had problems in the past (un-fixable leaks, crashes). Is there a different way to solve this problem?

Upvotes: 0

Views: 463

Answers (1)

Jonathan Grynspan
Jonathan Grynspan

Reputation: 43472

If you're not willing to use those higher-level APIs, you can drop down to the BSD socket API and manually implement an HTTP connection. However, this is reinventing the wheel, and you should probably stick with the Objective-C/Core Foundation APIs. They are stable; if you're seeing them crash or leak, the problem probably lies in your code.

Can you show us the code where you see the crashes?

Upvotes: 1

Related Questions