You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
craigecraig
6 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 video to their Dropbox account, ideally without them having to enter an API key?
My site is developed using PHP.
Thanks!
Craig
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-DBDropbox Staff
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.
- craigecraigExplorer | Level 4
THANK YOU!! :)
- craigecraigExplorer | 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-DBDropbox Staff
Update: the Dropbox Saver should now work in Chrome on iOS.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,889 PostsLatest Activity: 9 hours agoIf 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 or Facebook.
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!