Page 1 of 1

Problems with Uploading files to Appery IO Database(Predefined Files Collections)

Posted: Fri Jun 19, 2015 11:15 am
by Mohd Naeem

The link : "https://devcenter.appery.io/tutorials..." has issues in saving files.

I followed the tutorial as per instructions.
The tutorial snapshot shown by Appery says that it saved a file 'UploadingFile.JPG' with size 25.23 KB
But my file is always saved with 25 bytes( yes 25 bytes, thus never visible).
It uses 'uploadMultipleFilesHelper' function as instructed.

Here is appery snapshot and my snapshot showing files size issue.

Image

Please guide.


Problems with Uploading files to Appery IO Database(Predefined Files Collections)

Posted: Fri Jun 19, 2015 8:29 pm
by Serhii Kulibaba

Hello,

Please show us JS which you use for the files uploading


Problems with Uploading files to Appery IO Database(Predefined Files Collections)

Posted: Sat Jun 20, 2015 5:00 am
by Mohd Naeem

I am using uploadMultipleFilesHelper(UploadPhotoService, Appery('imgPreview')); where 'UploadPhotoService' is the photoupload service and imgPreview is the image preview of a camera shot image(not a input file control unlike the tutorial).

Or the above function can only save image from input file control to file collection?
If so then what function to use to save an camera shot image to file collection?


Problems with Uploading files to Appery IO Database(Predefined Files Collections)

Posted: Wed Jun 24, 2015 5:04 am
by Yurii Orishchuk

Hi Mohd,

Yes this functionality works by default only for upload files from input component.

Please check this thread https://getsatisfaction.com/apperyio/...

Regards.