tags:

views:

89

answers:

2

Hi guys, how do i do a HTTPRequest and then save the File locally into the iPad/iPhone. Im working with the simulator right now so is it possible to emulate the local data storage?

+1  A: 

Yep, this is really easy to do, and I wrote another answer on how to do it: http://stackoverflow.com/questions/2868549/how-to-download-files-directly-to-disk-on-the-iphone-os/2868765#2868765

Dave DeLong
alright i'll take a look and see whether if i am able to do it.
Kenneth
+1  A: 

ASIHTTPRequest might also come in handy here as an intelligent wrapper to HTTP functionality:

http://allseeing-i.com/ASIHTTPRequest/

Joost Schuur
Great. thanks. i'll take a closer look at it
Kenneth