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 share link containing /scl/fo/ which leads to a registration splash screen whenever a website visitor clicks a file in the embedder. However we want to start a download instead of a registration...
The strange thing is that other folders for which we produce a read only share link contain /sh/ . When you click on a file in the embedder with this link in the code, the download starts without a registration splash screen.
Now, I've read that a link containing /scl/fo/ is an edit link. Why do some folders produce a link containing /scl/fo/ and others /sh/ while we explicitly ask for a read only share link?
We run a Dropbox Advanced plan.
24 Replies
Replies have been turned off for this discussion
- Jay2 years ago
Dropbox Community Moderator
Hi jpimbema, thanks for messaging the Community!
Just for clarification, are you using any of the Dropbox API when embedding Dropbox onto your site?
This will help me to assist further!
- Здравко2 years agoLegendary | Level 20
jpimbema wrote:...
Now, I've read that a link containing /scl/fo/ is an edit link. Why do some folders produce a link containing /scl/fo/ and others /sh/ while we explicitly ask for a read only share link?
...
Hi jpimbema,
There are 2 folder link formats (one is being in depreciation /sh/ and other - the successor /scl/fo/). By now the two formats are in use (the old one is not dropped automatically, but all new links are in new format). That doesn't mean the particular link is "can edit" type, but could be. That's something you have control on and can check.
In folder share settings is a dropdown menu where you can select from "can view" or "can edit" as well as see what's selected now (the same is for file share settings as well). You can change your default settings from your account sharing settings. See on section "What people can do" and change to appropriate if needed. 😉 The last is valid for both on site created link and API created links. While using API, in the API itself is no control what type of link to be produced - not yet at least. For API you may control your link types only by using default setting in your account (i.e. by hand). Let's hope this will change in future.
Hope this helps.
- jpimbema2 years agoExplorer | Level 4
Yes, starts with this code:
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js"
- Здравко2 years agoLegendary | Level 20
jpimbema, Is that, you posted, used only for Dropbox Embedder or for other things too (like Dropbox Chooser)?
- Jay2 years ago
Dropbox Community Moderator
Thanks, I've moved this thread to the API forum for our colleague to provide more specialized assistance.
- Здравко2 years agoLegendary | Level 20
Jay, It's still not clear if particular issue is API related!!! That's why asked how it's used! That may be nothing API related at all.
- jpimbema2 years agoExplorer | Level 4
Only for the embedder.
- Здравко2 years agoLegendary | Level 20
jpimbema wrote:Only for the embedder.
Thanks jpimbema.
Jay, your mistake - nothing API related!
As I said, check the actual link you have created - don't suppose it. In your account, on right of the folder, you want to show, is a share icon (it displays only when cursor hovered). Push it and see what's on the dropdown menu there (what's selected actually).
- jpimbema2 years agoExplorer | Level 4
Здравко when I click the icon it shows Iedereen met deze link: kan weergeven translated: Anyone with this link: can view
That's the actual link I copy into the embed code. - Здравко2 years agoLegendary | Level 20
jpimbema wrote:...: Anyone with this link: can view
That's the actual link I copy into the embed code.In such a case your issue doesn't nothing to do with "edit link". It's just not "can edit" link type in such a case, but "can view". To be sure, you may recreate the link and check anew - the link you're using may be created at time when something else has been selected.
Next step would be to check the link in incognito window and change the ending "dl=0" to "dl=1". When hitting enter key, does the link start download or shows some message? (you don't need to download - cancel the download - important thing is what starts to happen) If some error appears let us know what it is.
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!