Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
jpimbema
2 years 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...
Здравко
2 years 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
2 years 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:
- Здравко2 years agoLegendary | Level 20
Greg-DB wrote:Здравко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.
...
Hm...🤔 It's fine that it did work for you, it don't work for me though. 🤷 Yes, I understand the examples you gave me, but I'm trying with the link I posted above. Two examples follows - using curl and Firefox (I cut some parts for clarity).
Here is curl result:
Trying 162.125.69.18:443... * Connected to www.dropbox.com (162.125.69.18) port 443 (#0) ... > GET /scl/fo/25bzgyfsnf7ewps37i25i/h/GOLF-P-WE-AU-BLACK/%231134_GOLF-P-WE-AU-BLACK.eps?rlkey=lg5fi44eft8u5u5lnjcarhdzj&dl=1 HTTP/2 > Host: www.dropbox.com > user-agent: curl/7.81.0 > accept: */* > ... < HTTP/2 302 < content-type: text/html; charset=utf-8 < location: https://www.dropbox.com/scl/fo/25bzgyfsnf7ewps37i25i/h?dl=1&rlkey=lg5fi44eft8u5u5lnjcarhdzj < pragma: no-cache < referrer-policy: strict-origin-when-cross-origin ... < x-dropbox-request-id: f8384f71b3c6489ca429a77235e46a6a < ... > GET /scl/fo/25bzgyfsnf7ewps37i25i/h?dl=1&rlkey=lg5fi44eft8u5u5lnjcarhdzj HTTP/2 > Host: www.dropbox.com > user-agent: curl/7.81.0 > accept: */* > ... < HTTP/2 302 < content-type: text/html; charset=utf-8 < location: https://uc23afd9ebc7da3e839dd61472d1.dl.dropboxusercontent.com/zip_download_get/B0UJkehYIkc4NCs7x-5Ru2rwCONfHUxVI_yMMLDk4FdqQiSazhbrYILXZhtEnsR7c_0UVD4xltif1PmBDIOqXT8FV_oKUvDnbQVWRj8MbXXb2A# < pragma: no-cache < referrer-policy: strict-origin-when-cross-origin ... < x-dropbox-request-id: 94824c8a0945494a9d157b543251e9f7 < ... > GET /zip_download_get/B0UJkehYIkc4NCs7x-5Ru2rwCONfHUxVI_yMMLDk4FdqQiSazhbrYILXZhtEnsR7c_0UVD4xltif1PmBDIOqXT8FV_oKUvDnbQVWRj8MbXXb2A HTTP/2 > Host: uc23afd9ebc7da3e839dd61472d1.dl.dropboxusercontent.com > user-agent: curl/7.81.0 > accept: */* > ... < HTTP/2 200 < content-type: application/zip < cache-control: max-age=0 < content-disposition: attachment; filename="#1134.zip"; filename*=UTF-8''%231134.zip < original-content-length: 252188 < pragma: public < referrer-policy: no-referrer ... < x-dropbox-request-id: 09d96923cc4c4a8799c18fc3e493b255 <
And here is Firefox result:
GET /scl/fo/25bzgyfsnf7ewps37i25i/h/GOLF-P-WE-AU-BLACK/%231134_GOLF-P-WE-AU-BLACK.eps?rlkey=lg5fi44eft8u5u5lnjcarhdzj&dl=1 HTTP/2 Host: www.dropbox.com User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0 ... HTTP/2 302 content-type: text/html; charset=utf-8 location: https://www.dropbox.com/scl/fo/25bzgyfsnf7ewps37i25i/h?dl=1&rlkey=lg5fi44eft8u5u5lnjcarhdzj pragma: no-cache referrer-policy: strict-origin-when-cross-origin ... x-dropbox-request-id: 52a873ae1aa64d4eaff23d74038f9c6e ... GET /scl/fo/25bzgyfsnf7ewps37i25i/h?dl=1&rlkey=lg5fi44eft8u5u5lnjcarhdzj HTTP/2 Host: www.dropbox.com User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0 ... HTTP/2 302 content-type: text/html; charset=utf-8 location: https://uce1c6fed04edc93ba42aed539fc.dl.dropboxusercontent.com/zip_download_get/B0WB6Ib2rn4mBNQKw1Y-jE_Fe7hnwmTa3YiTbfOOkew1WHmhzxGzk-BNLOsdnVEaag-cvlqrS5tGkeOJQTfx3LwQoqLCfKzFBlz29w9VtiCSLg# pragma: no-cache referrer-policy: strict-origin-when-cross-origin ... x-dropbox-request-id: 07d17b937a7942ba86e649126517a835 ... GET /zip_download_get/B0WB6Ib2rn4mBNQKw1Y-jE_Fe7hnwmTa3YiTbfOOkew1WHmhzxGzk-BNLOsdnVEaag-cvlqrS5tGkeOJQTfx3LwQoqLCfKzFBlz29w9VtiCSLg HTTP/2 Host: uce1c6fed04edc93ba42aed539fc.dl.dropboxusercontent.com User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0 ... HTTP/2 200 content-type: application/zip cache-control: max-age=0 content-disposition: attachment; filename="#1134.zip"; filename*=UTF-8''%231134.zip original-content-length: 252188 pragma: public referrer-policy: no-referrer ... x-dropbox-request-id: c98eac79aefc4fee94cf207343cf97ce X-Firefox-Spdy: h2
It is 100% repeatable! Few more groups of x-dropbox-request-id if could be useful to identify what's going on:
c3cee03ed1ee40188328d460eda288d6, 15eba251a8264d8f978d07e8c93d27ca, 63e8a5985be94d51bbdec370ad661328
7a96542d82be4af09b18017366587b4e, c3af3bc2f45d4b1885e2b7366ac0e7bc, 81c01b5a3c8746da8f1bf6f992a11246
586cddd3a4b54d6fb320dfae28c96170, e94ecc4e9f914b20a0ce60d2d278b459, efc81fabe5b1485b970ea6efe9098b09
That came up from nothing...😕 Can you take a look what's up? 🧐 As seems this appears selectively - for some links only (I cannot see still what provokes this behavior).
Thanks.
- Greg-DB2 years ago
Dropbox Community Moderator
This issue is now fixed for new shared links. Please note that previous existing shared links will continue to display this behavior, so you'll need to create new shared links for the fixed behavior.
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!