How to transfer file saved on ipad to the outside world?

Hello!

I am trying to create a basic notes application for the ipad and I don’t know how to transfer the notes I write from the ipad to my pc.

I can enter text, and save it to a file, but how do I get the file off the iPad? Is there any way to email it? Should I be depending on itunes or is there a better way (ideally, email!)

system.openURL(“mailto:myemailaddress@somewhere”) doesn’t mention any way to attach files…

Please help!

Regards,
C. [import]uid: 13555 topic_id: 6549 reply_id: 306549[/import]

bump!

Surely someone is doing something similar? A survey app maybe where you need to get the results back? Or a bugtracker, for users to submit some sort of crashdump to you? [import]uid: 13555 topic_id: 6549 reply_id: 22917[/import]

This is where I would most likely start looking:
http://w3.impa.br/~diego/software/luasocket/old/luasocket-2.0-beta/smtp.html
[import]uid: 8045 topic_id: 6549 reply_id: 22926[/import]

Thanks for that pointer, luna! I wasn’t aware we had access to luasockets in corona/i-devices!

I don’t have access to my iPad right now, but hope this will work.

Thanks again. [import]uid: 13555 topic_id: 6549 reply_id: 23231[/import]

It will work. I use FTP to send data, but there are other mechanisms. [import]uid: 3953 topic_id: 6549 reply_id: 23580[/import]

@Cyclonus

There is an FTP Helper by GrahamRonson (developer of Lime) at:
http://developer.anscamobile.com/code/ftp-helper

[import]uid: 8045 topic_id: 6549 reply_id: 23581[/import]

@MarkHenryC

Thanks! That’s definitely a relief :slight_smile:
I wonder if we can use UDP style networking on iOS as well? Very curious!

@luna
This is perfect! I’d rather use email for my current project, but it’s great to see working code. Thanks :slight_smile:

Thanks a bunch guys, I had no idea we could do this with Corona/iOS… I am pleasantly surprised :)) [import]uid: 13555 topic_id: 6549 reply_id: 23608[/import]