Skip to main content
Known Participant
February 26, 2016
Question

Retrieving text file written to File.applicationStorageDirectory on iPad

  • February 26, 2016
  • 1 reply
  • 291 views

I am creating an iPad only application using AS3 / Air and it is basically a form that captures user data at an exhibition.

I am saving the form data to a csv file in the File.applicationStorageDirectory

I would like to get this csv file at the end of each day and email it to the client.

Any ideas how I can retrieve this file?

Thanks

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
February 26, 2016

Can't you use exactly the same technique to read the file as you do to write the file? Once you have it read in, you could use navigateToURL() to do a GET or POST to a script on a server somewhere, that would do the actual emailing.