I’m unable to find a working example for this package.
I’ve searched a lot of times, read the documentation but i’m unable to understand how to use a callback when the upload was ended.
I’ve readed the book on meteortips and i’ve a very basic skill with meteor an js.
Thanks a lot.
Thank a lot robfallows, but i’ve tried the example for the package but i’m stuck with this error:
W20150428-14:30:31.018(0)? (STDERR) ReferenceError: Router is not defined
W20150428-14:30:31.018(0)? (STDERR) at app/router.js:1:36
W20150428-14:30:31.018(0)? (STDERR) at app/router.js:26:3
W20150428-14:30:31.018(0)? (STDERR) at /home/ubuntu/workspace/.meteor/local/build/programs/server/boot.js:222:10
W20150428-14:30:31.018(0)? (STDERR) at Array.forEach (native)
I’ve tried the package iron-router without success.
Thanks a lot
If you clone the github repo, update and run meteor within it:
git clone firstname.lastname@example.org:tomitrescak/meteor-uploads.git mytestapp cd mytestapp meteor update meteor
You get a fully working demo which you get to in your browser at
For information, the packages used by this demo are:
ian:bootstrap-3 3.3.1 HTML, CSS, and JS framework for developing responsive, mobile first projects on the web. iron:router 1.0.7 Routing specifically designed for Meteor meteor-platform 1.2.2 Include a standard set of Meteor packages in your app nooitaf:semantic-ui 1.10.4 Semantic UI packaged for Meteor [deprecated] reactive-var 1.0.5 Reactive variable standard-app-packages 1.0.5 Moved to meteor-platform tomi:upload-jquery 2.1.5 Client template for uploads using "jquery-file-upload" from blueimp tomi:upload-server 1.2.3 Upload server for Meteor. Allows to save and serve files from arbitrary directory
This is the working example you were unable to find.