Tutorial :how to export data to computer(PC) using wifi or http connection?



Question:

I have made Iphone applicatio. In my application whatever data i have recorded; all that data i want to export to the Computer using the application.

Is there any way available to sent data to computer using wifi using developed application? Can we use Bluetooth or Http connection to send application from device to the PC?

if we can than how can we manage the bluetooth and how to use it without Jailbreaking?

if any body has any solution,please give any code or any link or any other solution which would appreciated.

Thanks, Mishal


Solution:1

Your best bet is to send the data using HTTP or FTP to a server, which could be your PC. Would that work for you?

Here's one way to do it.

Here's another.

And one for FTP.


Solution:2

I dont think you have an option to gain control of a computer and toss a file in there from within an iPhone app. You cannot do it over the usb cord, you cannot mount the drive unless you roll your own fs mounter (pretty difficult), and you cannot push a file over html or something and have it magically appear. The user would have to interact at some point.

Many times, this is done over html. In my apps, I use CocoaHTTPServer to get local info into and off of the phone. You run the server and out-of-the-box, it indexes all the files in the documents directory for you to download from any browser on the same wifi network. Give it a shot as it is a easy to implement solution for getting large files off the phone without having to resort to something clunky like email


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »