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
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.
- Здравко2 years agoLegendary | Level 20
Greg-DB wrote:..., so you'll need to create new shared links for the fixed behavior.
Yes, but no!!! Now, with new link the behavior changes, but stays incorrect; now with new link to the same file https://www.dropbox.com/scl/fo/25bzgyfsnf7ewps37i25i/AD-38IrNkvYcv0eHaopJz6s/GOLF-P-WE-AU-BLACK/%231134_GOLF-P-WE-AU-BLACK.eps?rlkey=60509kpyry3hmb2mx00gjpo5h&dl=0:
If I click "Back to files", it asks me log in! 🤷
I generated the above link in the same way as previous one with folder pointing link: https://www.dropbox.com/scl/fo/25bzgyfsnf7ewps37i25i/ADMm0_m7MuQGroaOEsfGVRo?rlkey=60509kpyry3hmb2mx00gjpo5h&e=1&dl=0
It doesn't matter dl=0, dl=1, or raw=1. 🤔 Something still goes wrong despite of no more 2 redirections. Redirection to the link root folder gets replaced by redirection to error HTML (page) in all cases.
Is there some error on my side?
PS: Dropbox doesn't even let to me access my own file! (even when I'm logged in) Before I was able to access my file at least.
$ curl -X POST -u '*************:************' -H 'Content-Type: application/json' -d '{"path":"/GOLF-P-WE-AU-BLACK/#1134_GOLF-P-WE-AU-BLACK.eps","url":"https://www.dropbox.com/scl/fo/25bzgyfsnf7ewps37i25i/ADMm0_m7MuQGroaOEsfGVRo?rlkey=60509kpyry3hmb2mx00gjpo5h&dl=0"}' https://api.dropboxapi.com/2/sharing/get_shared_link_metadata | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2063 100 1882 100 181 1053 101 0:00:01 0:00:01 --:--:-- 1154 { ".tag": "file", "url": "https://www.dropbox.com/scl/fo/25bzgyfsnf7ewps37i25i/AD-38IrNkvYcv0eHaopJz6s/GOLF-P-WE-AU-BLACK/%231134_GOLF-P-WE-AU-BLACK.eps?rlkey=60509kpyry3hmb2mx00gjpo5h&dl=0", ...
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!