Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
craigecraig
7 years agoExplorer | Level 4
Easiest way to allow users to download single file from any mobile web browser.
Hi. I currently have the Saver method setup, but it doesn't work on iOS chrome, so this isn't a viable solution for me. What is the best option for me to allow any logged-in user to download their ...
- 7 years ago
Using the Dropbox Saver would be the easiest way, but as you found, the Dropbox Saver isn't supported in Chrome for iOS unfortunately. I'm sending this along as a feature request for support for the Saver in Chrome for iOS, but I can't promise if or when that might be done.
The alternative would be to use the Dropbox API, e.g., with the /2/files/save_url endpoint to save a file from a URL, or the /2/files/upload endpoint to upload file data directly. That would be substantially more work than using the Saver though, as you'd need to build out that implementation yourself. Note that the end-user wouldn't need to supply their own app key though. You as the developer just register the app once yourself, and use the resulting app key in your app's code. You would then send the user through the OAuth app authorization flow so they can choose whether or not to authorize your app.
Greg-DB
Dropbox Community Moderator
7 years agoUsing the Dropbox Saver would be the easiest way, but as you found, the Dropbox Saver isn't supported in Chrome for iOS unfortunately. I'm sending this along as a feature request for support for the Saver in Chrome for iOS, but I can't promise if or when that might be done.
The alternative would be to use the Dropbox API, e.g., with the /2/files/save_url endpoint to save a file from a URL, or the /2/files/upload endpoint to upload file data directly. That would be substantially more work than using the Saver though, as you'd need to build out that implementation yourself. Note that the end-user wouldn't need to supply their own app key though. You as the developer just register the app once yourself, and use the resulting app key in your app's code. You would then send the user through the OAuth app authorization flow so they can choose whether or not to authorize your app.
craigecraig
7 years agoExplorer | Level 4
THANK YOU!! :)
- craigecraig7 years agoExplorer | Level 4
One more question, so I set up the save api and most of it appears to be working, but the file I need them to save is an Amazon s3 file. I create a presigned url and put that in the PATH spot. But I am getting errors:
Error in call to API function "files/upload": HTTP header "Dropbox-API-Arg": path: The root folder is unsupportedIs this doable?
Thanks!
Craig
- Greg-DB7 years ago
Dropbox Community Moderator
When using /2/files/upload to upload a file, the 'path' parameter should contain the full path in Dropbox where you want to store the file, including the file name and extension.
It sounds like you want to put the file in the root folder and so just supplied the empty string "" as the path. Instead, you should supply a string like "/filename.ext" to tell Dropbox where to put the file and what to name it.
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!