Using the dropbox SDK for a client side angular project. I'm able to call filesDownloadZip() but I'm not able to do anything with the result.
I'd like the browser to download the file with it's default behavior but I can't figure out how to "force" the browser to download the file.
Any ideas?
http://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownloadZip__anchor
Here's the function call as it exists right now. I'm not really sure what I need to do in order to force a download.
filesDownloadZip(path){
return dropboxSDK.filesDownloadZip({path:path}).then(x=>{
console.log(x);
console.log('downloaded')
})
}