Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
studio69
9 years agoHelpful | Level 5
Get downloadable links from a folder
Hello, I would like to use Dropbox so that people could host files into a folder. For now, they have to share manually each link and put this link in the csv file in order to import files int...
Greg-DB
Dropbox Community Moderator
9 years agoI'm not sure I fully follow your question. Are the users uploading to their own Dropbox accounts? Do you need individual links for each uploaded file, or just each folder?
In any case, the /2/sharing/create_shared_link_with_settings endpoint is the right way to create a shared link for any specific file or folder:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
There's an example of calling it via curl in the documentation there.
In any case, the /2/sharing/create_shared_link_with_settings endpoint is the right way to create a shared link for any specific file or folder:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
There's an example of calling it via curl in the documentation there.
studio69
9 years agoHelpful | Level 5
Actually, they uploaded files from their accounts in a shared folder.
They need individual links for each file so that import process could work. The URL needs to start with http or https.
Ideally, I would like a link with the same prefix (the shared folder link) and the filename (i.e: https://www.dropbox.com/sh/AAbbCCEeFF123/myfilename.jpg) so that they don't need to manually generate a shared link for each file.
- Gonzo3459 years agoHelpful | Level 5
The Shared Links have their own "format" so you need to get the metadatada, parse the name and then perform the download and apply that parsed name and file extension. At least that's how I do that using .NET on a fully "apished" (lol) application.
- Greg-DB9 years ago
Dropbox Community Moderator
You can't programmatically get a shared link for a file just using the shared link for a parent folder in API v2, so you'll need to call /2/sharing/create_shared_link_with_settings for each desired file/folder.- studio699 years agoHelpful | Level 5
I'm sorry I really don't unier stand how to use endpoint. Where to load the script? How to use it? Is there a tutorial somewhere?
Also I was thinking about sync dropbox files into a webserver so that I could use the absolute Path of the web Server to get files URL.
- Greg-DB9 years ago
Dropbox Community Moderator
What language are you using (e.g., Java, Python, etc.)? If possible we recommend using one of the official SDKs:
https://www.dropbox.com/developers/documentation
They come with guides for getting started.
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!