I'm using the CollectionFS to store and download files from my application
<a href="{{this.url download=true}}">Download</a>
And I want to execute a server-side function when the file is downloaded (without using jQuery because it's not really credible and can be bypassed).
I was wondering if there's any undocumented function / workaround to execute my code/hook when there's a download, something like this:
filesCollection.on('download', function(fileObject){
// do stuff
});
Thanks