Getting some information about file uploaded using Dropzone

I am using Dropzone package (meteor add tomi:upload-server) I am following this link and I want to save content details like size, name, ect

server/main.js :

Meteor.startup(function () {
UploadServer.init({
tmpDir: process.env.PWD + ‘/public/uploads’,
uploadDir: process.env.PWD + ‘/public/uploads’,
checkCreateDirectories: true,
uploadUrl: ‘/upload’
});
});

client/content.html :

{{> dropzone url='/upload' id='dropzoneDiv'}}

All files uploaded successfully under /public/uploads but I want now to add some code( in content.js for example) to save files information after every uploading in my database (Content.insert(content)).

I will appreciate any help :slight_smile: