Page 1 of 1

How can I push local device files to my web server in a hybrid app?

Posted: Sat Jun 21, 2014 5:51 pm
by Chris Smith

'm stuck on one thing with appery.io. Love Appery BTW :)

I'm writing files from my hybrid app to my local device using the phonegap local file system calls. I choose the hybrid app approach because my app needs to be available offline. Saving the files in localStorage could use up too much space and slow the app down. I want to upload these files to my server later when an internet connection is available. I can open them with phonegap call, but POST is limited to same origin, and GET has a max of 8K. How can my app push these files to my server? What would you recommend?

Thanks


How can I push local device files to my web server in a hybrid app?

Posted: Sun Jun 22, 2014 9:10 pm
by Illya Stepanov

Hi Chris,

We would really appreciate if you share the solution that you've found, as you mentioned in email.