Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kage777

macrumors newbie
Original poster
Feb 24, 2008
20
0
I have another question for someone with more knowledge than myself (which is pretty much everyone I think).

I am trying to build an app that as the last step it would write a file (csv file) and then place it in a shared folder on a windows machine to have access to it.

I am pretty confident the writing shouldn't be too bad to figure out, but the getting it off of the iphone is something I'm concerned about.

Is this possible, or am I trying to do something that can't be done.

thanks for any suggestions
 
Is this possible, or am I trying to do something that can't be done.

Yes although it's not going to be at all easy. Apps can do it but there is not a convenient API (that I am aware of) for doing this: you would need to find a way to mount the share into the filesystem.
 
If you are going to be movie files to a server, consider using JSON to send the data to a php webservice or php script that can write the file on the server.
 
If you're running a web server on the Windows computer you can POST the file to a script on the server. Google web server file upload for details of how this works.

If you are running an embedded web server on the device you can serve the file from your app. This would be a manual process where the user connects to your device with a web browser from the desktop computer and downloads the file from there.

You can also easily email a file from your app and include it as an attachment.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.