Discuss Dropbox Developer & API
I am looking for how to use Dropbox Java SDK to generate pre-signed URLs for file upload and download. I tried various methods of key object DbxClientV2 but couldn't get anywhere.
I understand raw HTTP usage is given here, but I am looking for using Java SDK.
@user44 wrote:...
I understand raw HTTP usage is given here, but I am looking for using Java SDK.
Hi @user44,
As seems, you don't understand that most "raw HTTP" related to Dropbox API have their equivalents in all SDKs (including Dropbox Java SDK). In the particular, equivalent call can be seen here.
Also, you can use direct upload or upload session (for large files).
Hope this helps.
@user44 wrote:...
I understand raw HTTP usage is given here, but I am looking for using Java SDK.
Hi @user44,
As seems, you don't understand that most "raw HTTP" related to Dropbox API have their equivalents in all SDKs (including Dropbox Java SDK). In the particular, equivalent call can be seen here.
Also, you can use direct upload or upload session (for large files).
Hope this helps.
@user44 As Здравко said, you can use the getTemporaryUploadLink, upload, and/or uploadSessionStart functionality to upload files.
Likewise, for downloading, there's the getTemporaryLink and download functionality.
As for how to call such methods with DbxClientV2, check out the examples in the readme and in the examples folder.
thanks for kind words, you have a blessed day
Hi there!
If you need more help you can view your support options (expected response time for a 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!