Closed hamedhemmati closed 8 years ago
figured it out the generateUniqueIdentifier should be
function(file){ return "" + (new Mongo.ObjectID()); }
not
function(file){ return '${new Mongo.ObjectID()}'; }
I took it from the issue #102 without paying attention.
Glad you solved it!
I have everything working fine with the built-in resumable but when I try to use my custom one it creates a file with 0 length. When I was reading the documentation it says that the custom resumable has to match both on the client and the server side but I don't see any setting for resumable on the server side. The only thing is the target that needs to match the collection name right? Or am I missing something?
Here is what I have on my client
and this is what I have on the server side.