hi everyone i using collectionfs + gridfs + cfs filesystem, on collectionfs documentation i find how to insert file on client side like this :
Template.myFo
make sure to apply allow and deny rules like so:
Images.allow({ insert: function() { return true }, update: function() { return true }, remove: function() { return false } });
Update must also be applied if using streaming