Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
GSD Company
2 years agoExplorer | Level 4
use java sdk to upload file
Could I use java sdk to upload a image and return a direct link that can show in webbrowser?
3 Replies
- GSD Company2 years agoExplorer | Level 4
use java sdk to upload a image upload and return a direct link immediatly
- Здравко2 years agoLegendary | Level 20
Hi GSD Company,
Yes, you can use Dropbox Java (or any other) SDK (or without SDK at all) to upload file (image or any other) and get link to the uploaded file. You cannot do it in a single call though (i.e. immediately)! You need to upload the target file and once uploaded you can create desired link (i.e. 2 calls total at least).
Hope this helps.
- Greg-DB2 years ago
Dropbox Community Moderator
GSD Company Здравко is correct; you can use the API/SDK to upload and get links to files, but that would require at least two calls. For reference, you can find the official Dropbox Java SDK here. You can find the documentation for the upload functionality in that SDK here. Likewise, you can use createSharedLinkWithSettings or getTemporaryLink to create links to files.
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!