vsivsi / meteor-file-collection

Extends Meteor Collections to handle file data using MongoDB gridFS.
http://atmospherejs.com/vsivsi/file-collection
Other
159 stars 37 forks source link

Difficulty populating file data after document insertion #145

Open uttahb opened 7 years ago

uttahb commented 7 years ago

I am using Meteor 1.3.2 and client side I am using angular. When I try to upload with meteor collection, its creating a zero length file document in collection but its not getting updated with full file data.

vsivsi commented 7 years ago

I really can't help without seeing code. Are you actually uploading the file data somehow? How?
See also: https://github.com/vsivsi/meteor-file-collection/issues/144

There are also working sample apps, I suggest you examine how they work, if you haven't already. Simple: https://github.com/vsivsi/meteor-file-sample-app More complex: https://github.com/vsivsi/meteor-file-job-sample-app