Collection FS , help on callback when the image is ready on the server

I am having some problems on upload in collection FS using amazon s3 i cant find a way to do a callback whe nthe image is complete uploaded im using mantra can anyone give me an better ways on how to do it?

Hi,
CollectionFS is deprecated/not supported, I would recommend using https://github.com/vsivsi/meteor-file-collection
Which is simpler to use, and works well for me

If you want a callback on success, this should help:

myFiles.resumable.on(‘fileSuccess’, function(file,message){ … });

where myFiles is a filecollection

Mike

1 Like