You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.
Rhys Bartels-Waller edited this page May 11, 2015
·
1 revision
On Client
When you need to add files client-side, always call
myFSCollection.insert as the chunked upload will be handled automatically. Inserting the FS.File server side via a Meteor.method call will not work since only the file info and not the actual data has been transferred.
On Server
Calling insert on the server should be done only when you have the file
somewhere on the server filesystem already or you're generating the data
on the server.