Page 1 of 2
Upload photo file corrupted when down loaded from appery Ffb
Posted: Mon Feb 17, 2014 4:03 am
by Andrew Clark
Hi
I was able to upload camera files to appery File data base. I used the tutorial to do this. However when down loaded them from Fdb received this message.
So have I missed something or do I need something else.
thanks Andrew
Upload photo file corrupted when down loaded from appery Ffb
Posted: Mon Feb 17, 2014 4:21 am
by Illya Stepanov
Hi Andrew,
How exactly you download files?
Upload photo file corrupted when down loaded from appery Ffb
Posted: Mon Feb 17, 2014 4:29 am
by Andrew Clark
Hi Illya
Just used down load button in fDB -
Andrew
Upload photo file corrupted when down loaded from appery Ffb
Posted: Mon Feb 17, 2014 7:12 am
by Andrew Clark
Hi
Any thoughts about an answer
Upload photo file corrupted when down loaded from appery Ffb
Posted: Mon Feb 17, 2014 9:52 am
by Kateryna Grynko
Andrew,
Just to clarify. Did you use this tutorial?
http://docs.appery.io/tutorials/using...
Upload photo file corrupted when down loaded from appery Ffb
Posted: Mon Feb 17, 2014 11:25 am
by Andrew Clark
Hi
I used upload file db rather than camera function. As I under stand using device camera function is not usable in HTML5.
Quick question - how do you download photo files from avery db if up loading photo files using device camera process.
Andrew
Upload photo file corrupted when down loaded from appery Ffb
Posted: Mon Feb 17, 2014 1:07 pm
by Kateryna Grynko
Hi Andrew,
How did you upload this file? It's important to sort out why it's corrupted. You can also get photo from Database as you did it: http://docs.appery.io/documentation/b...
Upload photo file corrupted when down loaded from appery Ffb
Posted: Mon Feb 17, 2014 1:18 pm
by Andrew Clark
Hi
essentialy followed the instructions in the tutorial - "Uploading files to the Appery.io database"
this screen shot of set up.
Upload photo file corrupted when down loaded from appery Ffb
Posted: Mon Feb 17, 2014 2:26 pm
by Kateryna Grynko
Andrew,
This is an example for text files only, please try using readAsDataURL instead of readAsText method.
Upload photo file corrupted when down loaded from appery Ffb
Posted: Mon Feb 17, 2014 11:44 pm
by Andrew Clark
Katya
Thanks (sorry in delay getting back time zone differences)
Andrew