Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
abcd12341
8 years agoExplorer | Level 3
Javascript API Clarity - filesDownload()
I've been learning the Javascript API and am having a bumpy journey with filesDownload(). Looking at the docs... http://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor ...
Greg-DB
Dropbox Community Moderator
8 years agoUsing 'fileBlob' in browser JavaScript (or 'fileBinary' in Node) is the correct way to access the file data itself. Apologies that this isn't better documented! I'll ask the team to clarify that in the docs.
There's an example of using that with a Content-Download style method like this here:
https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/download/index.html#L53
There's an example of using that with a Content-Download style method like this here:
https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/download/index.html#L53
- Dzivo2 years agoNew member | Level 2
@greg still not documented 6 years later what is the type of fileBinary is it a Blob ?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!