Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
awideksy
5 years agoExplorer | Level 4
Java api : How to get already-created download link for a file?
public String uploadFile(List<File> list, String dropboxPath) throws Exception {
StringBuilder sb = new StringBuilder("");
for (File f : list) {
try (FileInputStream in = new FileInput...
- 5 years ago
1. To retrieve existing links, you can use listSharedLinks or listSharedLinksBuilder.
2. You can modify shared links for different behaviors, such as direct file content access, using the URL parameters documented here.
himalayantrekkers10
4 years agoNew member | Level 2
hi i want to know how to create direct download link for ab website file hosted in dropbox
Здравко
4 years agoLegendary | Level 20
himalayantrekkers10 wrote:hi i want to know how to create direct download link for ab website file hosted in dropbox
At the beginning can you clarify what's not clear in Greg's post above? There are directions you can use.
In addition you don't need to check if a link exists or not (in such a way you can speed up you application - less calls). If 'createSharedLinkWithSettings' fails because of already existing link, the error (exception) contains this link. You have to just catch it. 😉 Much faster!
Good luck.
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!