Remote File Access
I have ramped up the learning curve for iPhone programming over the course of the past year, but I am running into a problem that I cannot seem to solve.
I have created an app that accesses an sqlite database through the use of core data. I have been running it off of the simulator with the database stored locally with test data.
I now need to test it on the iPhone, so the database needs to be stored remotely, so the app will be able to access it. I would like input on a service that allows me to store the file remotely and have access to it in my app.
On the simulator, I am accessing the file when the persistent store is created through NSURL fileURLWithPath:. I assumed that I could find a service to host my database and access it through some URL path. I have looked into web hosting, file hosting, and other possible solutions, but I am coming up empty. I would like to know if what I am proposing is possible. If so, what are my options for storage and access. If not, how should I approach this.
I apologize if this is a basic question.
Thank you in advance.
|