We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
vpj123456789
4 years agoNew member | Level 2
Bulk sharing (individual link)
I need to share files with anyone by links. But I need each file to have an individual links. And I needed a way to get these links at once, not having to click on each file and copy the link
Rich
Super User II
4 years ago
vpj123456789 wrote:
I need to share files with anyone by links. ... And I needed a way to get these links at once, not having to click on each file and copy the link
If you have programming knowledge you could use the Dropbox API to generate the links. Otherwise, links need to be created individually.
vpj123456789
4 years agoNew member | Level 2
I tried to use this code to get the links of the files in my dropbox, but I got this return. You would have an example:
- Mark4 years ago
Super User II
I'll move this to the API form vpj123456789 as they would be better equipped to help 🙂
- Greg-DB4 years ago
Dropbox Community Moderator
vpj123456789 I see you're using the listSharedLinks method in the Dropbox Java SDK to list the shared links in the connected account. Refer to the linked documentation for information on how to interact with that. For instance, that returns a ListSharedLinksResult object, so refer to that to see the options for reading the result from that, such as by using the ListSharedLinksResult.getLinks method.
That method returns existing shared links, and you can use the createSharedLinkWithSettings method to create new shared links.
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!