How would one handle a file upload with Meteor?

file-upload, javascript, meteor

Solution

There currently doesn't seem to be a way to interact with the HTTP server or do anything related to HTTP.

The only things you can do is talk to server over the RPC methods exposed by Meteor.methods or talk to mongoDB directly over the mongoDB API exposed.

Problem

What would be the canonical way to handle a file upload with Meteor?

Original source