We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
billGeb
6 years agoNew member | Level 2
links for multiple files in a shared folder
Is there a way to link to specfic files within a shared folder without creating links for each individual file? I have an images folder which I created a shared link that contains multiple (1000+...
billGeb
New member | Level 2
Thanks Lusil I appreciate your quick response!
I have the link for the folder which works fine. But what I actually want is the url to any file in the folder to imbed in a webpage to display that particular image rather than imbedding the link to the folder. Which image needs to be dislplayed is determined by the app, not by the user, so the app needs the link to any file.
But I think your answer is correct that it can't be done directly, the only way to do what I want is progrmatically through the API and generate urls for each file.
Greg-DB
6 years agoDropbox Staff
billGeb That's correct, unfortunately you can't directly modify the shared link for a folder containing files in order to get a shared link for one of those files. (If you browse through the web page for a shared link for a folder manually, for instance, you'll see that it's more than just the file path that changes in the URL. There isn't a way to generate or predict what the resulting file URL would be just from the original shared link URL.)
If you want shared links for each file, you'd need to create each one on Dropbox. You can do so programmatically using the Dropbox API via the /2/sharing/create_shared_link_with_settings endpoint. (That's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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 or Facebook.
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!