You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
GSD Company
10 months 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?
- GSD CompanyExplorer | Level 4
use java sdk to upload a image upload and return a direct link immediatly
- ЗдравкоLegendary | 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-DBDropbox Staff
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.
5,888 PostsLatest Activity: 23 hours 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!