Our Community is in read-only mode until April 8th, learn more here. You can still search existing threads or get help via Dropbox Support, the Dropbox Help Center, or Learn.
Forum Discussion
jpimbema
1 year agoExplorer | Level 4
Clicking files in embedded Dropbox leads to registration screen instead of direct download
We have embedded Dropbox onto our website in an iframe: [Removed as per Community Guidelines] We produce a Dropbox read only share link to include in the embed code.
For some folders we get a shar...
Здравко
1 year agoLegendary | Level 20
Oops... sorry. Before there was copy link feature... I by mistake tried copy to account, but the rest is the same.
.... Note also that in the popup is not the file name, but the shared folder name! Even when I fetch the file link (using either the page code or API), replacing dl=0 to dl=1, leads downloading entire folder (zip file), not the actual file the link points to.
Try play with:
Is the resulting link usable for something?
Greg-DB
Dropbox Community Moderator
1 year agoЗдравко The URL to a particular file, with the file in the path of the URL, should point to the file in particular, and support downloading just that file in particular when using dl=1. I tried that and it did work for me.
Note though that it's possible to get a different URL when just viewing a particular file from its parent folder, which would still refer to the folder, and so would download the entire folder when using dl=1.
Here's a sample of the two different cases I just tried:
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!