We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Pranshu
6 years agoExplorer | Level 3
How to upload image to DropBox and Get Downloadable link?
I am currently using DropBox api v2 android sdk, for uploading images to Dropbox, But I need to get the downloadable link of that image, as I need to load those images multiple times and using the direct download method again and again isn't practical and memory efficient. Also at https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-Get-Download-Link-File-as-stream/m... , though the question is quite similar but on checking the method a, It states that
getTemporaryLink()
automatically expires the url within 4 hour. So i need a permanent downloadable link,
by using the downloadable link, I can pass it directly to picasso for loading the images fast.
Any help is highlt appreciated.
If you need a link that doesn't expire by default, you can use sharingCreateSharedLinkWithSettings instead, and modify the resulting link as documented here. Note that those links do get listed in the user's links list though.
1 Reply
- Greg-DB6 years ago
Dropbox Community Moderator
If you need a link that doesn't expire by default, you can use sharingCreateSharedLinkWithSettings instead, and modify the resulting link as documented here. Note that those links do get listed in the user's links list though.
About Discuss Dropbox Developer & API
Make connections with 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!