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
- Здравко2 years agoLegendary | Level 20
jpimbema, Is that, you posted, used only for Dropbox Embedder or for other things too (like Dropbox Chooser)?
- 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 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.
- 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!
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!