Al7638578
Posts: 0
Joined: Mon Jul 13, 2015 8:43 pm

Multiple upload files new function

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?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Multiple upload files new function

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.

Return to “Issues”