Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
dredknight
8 years agoExplorer | Level 4
Access public shared files without authentication
Dear community, I was wondering if it is possible to use a the ruby dropbox API to access and download publically shared files without authentication? You can do that from the web as long as y...
- 8 years agoIf you have a shared link for the file, the simplest way to download it is to modify the URL parameter(s) as shown here:
https://www.dropbox.com/help/desktop-web/force-download
You can then download from the modified link.
Otherwise, if you do want to use the API, you can use the /2/sharing/get_shared_link_file endpoint:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_file
dredknight
8 years agoExplorer | Level 4
Oh.. this DL=1 is just what I needed! Thank you so much :)!
P.S.
Unfortunately when I put it as a download link in ruby it still does not work even though it works through brower. :/
Greg-DB
Dropbox Community Moderator
8 years agoHow does it fail exactly? Can you share your code?
One thing to be aware of is that the dl=1 link will return a redirect first, so make sure your HTTP client will follow redirects.
One thing to be aware of is that the dl=1 link will return a redirect first, so make sure your HTTP client will follow redirects.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!