What's new

Download (via PHP curl stream) to an iPad

bikey77

iPF Noob
Hello all, this is my first post here so be gentle. :)

I'm looking for some info on how to download xml files to an iPad via http
I need to be able to send a request to a specific page (i.e. {server url}/?file={filename}.xml) on a webserver that will send back the requested xml file in a stream.
I'm using PHP on this and it would be quite simple if it had to be done for any PC using PHP's curl functions to get the required filename and target directory and begin streaming the file from the http server to the PC. What's the case when we need to send a file to an iPad and have it saved to a specific location so that the app can read from it?

I'm in the dark as I have no experience with iPads/iPhones apart from simple playing around with them. Any ideas folks? Thanks.
 
hey, I believe you will need to do what Apple refers to as an 'Advanced URL Connection' which you can read about here:

Loading…

along with associated links

It probably will be a bit more complicated than you would like it to be, but I'm sure you can work it out. If that's not helpful or you get lost, post back and I'll dig deeper and see what I can find!

Cheers!
 
Thanks a lot for looking into my issue.
As I said, i'm in the dark so even though I looked through the link you posted, I wasn't able to figure out which part could be a possible solution for me.
ANY tip would be great. Thanks!
 

Most reactions

Latest posts

Back
Top