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.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

Re: Java: Get Download Link / File as stream?

Java: Get Download Link / File as stream?

vished
Explorer | Level 3

Hi all,

How can I get the file from Dropbox:

a) As download link

b) As stream

Thank you

1 Reply 1

Greg-DB
Dropbox Staff

If you're using the Dropbox API v2 Java SDK:

a) to get a direct link from which you can download a file, you can use the getTemporaryLink method.

b) to download a file directly as a stream, you can use the download method. That will give you a DbxDownloader. The example there shows how to get a stream to read the data.

Need more support?