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

Is there a way to call resumable.addFile()? #138

Closed hashtaggigs closed 8 years ago

hashtaggigs commented 8 years ago

I'm not sure I'm asking the right question, but Is there a way to call resumable.addFile() within your package? If so, how? I'd like to programmatically upload an image blob (server side). I'll take the needed precautions to make sure safe blobs are getting uploaded, I just want to find out if it is currently possible.

hashtaggigs commented 8 years ago

Never mind, I figured it out... NameOfCollection.resumable.addFile(blob). So simple.

vsivsi commented 8 years ago

Glad you figured it out. For future reference, this was already discussed in this issue as well: https://github.com/vsivsi/meteor-file-collection/issues/36