Mohd Naeem
Posts: 0
Joined: Fri Jun 05, 2015 4:05 am

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

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

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

Hello,

Please show us JS which you use for the files uploading

Mohd Naeem
Posts: 0
Joined: Fri Jun 05, 2015 4:05 am

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

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?

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

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

Hi Mohd,

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

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

Regards.

Return to “Issues”