Page 2 of 2

Multiple upload files new function

Posted: Sun Jul 19, 2015 3:43 pm
by Al7638578

I've tried this and it won't store the photo to the DB. It takes the photo and displays it fine on the phone but will not upload. I created a login page and I am supplying the sessionToken on before send.

Should the field in the database 'photo' be of type 'file'? I have tried string and file.
I have changed the databaseID to be my database also.

I have tested it in Appery and it will create an entry in the database but I am not specifying an image. It will not save an image from my phone. I am using android 4.2 Jellybean on my phone but want to develop this app for an IOS phone. Could that be a problem?


Multiple upload files new function

Posted: Wed Jul 22, 2015 11:49 pm
by Yurii Orishchuk

Hi Al,

If you want to make photo and then upload this photo to Files collection of Appery.io DB you need to follow this tutorial: https://devcenter.appery.io/documenta...

Also you need to know that you can upload in this way only one file per request.

So to upload several files you need to do it in series.

Regards.