cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Getting temporary file upload and download links aka pre-signed URLS using Dropbox Java SDK?

Getting temporary file upload and download links aka pre-signed URLS using Dropbox Java SDK?

user44
Explorer | Level 4

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.

1 Accepted Solution

Accepted Solutions

Здравко
Legendary | Level 20

@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. :winking_face: Also, you can use direct upload or upload session (for large files).

Hope this helps.

View solution in original post

3 Replies 3

Здравко
Legendary | Level 20

@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. :winking_face: Also, you can use direct upload or upload session (for large files).

Hope this helps.

Greg-DB
Dropbox Staff

@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.

user44
Explorer | Level 4

thanks for kind words, you have a blessed day :slightly_smiling_face: 

Need more support?