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
@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
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.
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:
I'll move this to the API form @vpj123456789 as they would be better equipped to help 🙂
@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.