Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
joost2076
9 years agoExplorer | Level 3
download blob using dropbox Saver
Hi, I am trying to use the dropbox Saver (https://www.dropbox.com/developers/saver) to download a json blob from my desktop (ubuntu). This leads to an error: Url "blob:http://localhost:5000/f58...
- 9 years agoThe Dropbox Saver doesn't support blobs, local files, or data URIs unfortunately, but I'll pass this along as a feature request.
blurymind
7 years agoNew member | Level 2
I was able to achieve creating and saving a new text file by doing this and passing it as an url to the saver:
https://github.com/YarnSpinnerTool/YarnEditor/blob/master/src/js/classes/utils.js#L278
however there is a catch. Both the saver and the chooser only function when running from the web app hosted here:
https://yarnspinnertool.github.io/YarnEditor/
Perhaps more annoyingly, the saver can not overwrite files when asked to.
Dropbox denies them both access if running from a localhost server or a hosted file. This is why I disabled it for the electron version of yarnEditor.
Wish I could use one codebase that is simple and effective to achieve saving and loading - but the current api doesn't seem to have an easy answer to this
Greg-DB
Dropbox Community Moderator
7 years agoblurymind Thanks for sharing this! Please note though that the Saver only officially supports HTTP and HTTPS URIs, so while data URIs like this may happen to work, I don't recommend relying on that. It may not work consistently, or may break without notice.
Also, yes, the Chooser and Saver do need to run on a hosted page where they can verify the domain against the pre-registered Chooser/Saver domains for the app key being used.
The Saver also doesn't currently support overwrite or other write modes, but I'll pass these along as feature request as well.
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!