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

This forum contains topics that were moved from Get Satisfaction
Mohd Naeem
Posts: 0
Joined: Fri Jun 05, 2015 4:05 am

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

Post 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.

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

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

Post by Serhii Kulibaba »

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)

Post 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?

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

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

Post 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.

Post Reply