Hi,
Does anyone know the best way to transfer a file between different users of a Corona app? So if both users are using the same Corona app, and I needed the app to be able to transfer a txt file from one user’s system.DocumentsDirectory to another user’s system.DocumentsDirectory directory, what would be the best approach?
In other words, if user 1 creates a note that gets saved to their system.DocumentsDirectory as note1.txt, and he wanted to send that note1.txt to a friend that lives in another state so that user 2’s app could open that note1.txt file…
I tried using the Google Drive plugin so that the app would send the file up to google drive, and the other user’s app would retrieve it there, but that marketplace plugin is no longer supported.
Is the best solution using file upload as described here?
https://coronalabs.com/blog/2014/02/25/tutorial-uploading-files-demystified/
That blog is from 2014 so I’m not sure if it’s obsolete?
The other problem is I’d have to find a hosting provider that would allow file uploads (They often don’t on shared servers due to security)
Is there another solution I’m not thinking of or is that the only way?
Thanks in advance for your insights!