Announcements
Known issues updated. Learn more

Java: Get Download Link / File as stream?

Explorer | Level 3

Hi all,

How can I get the file from Dropbox:

a) As download link

b) As stream

Thank you

1 Reply

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

Dropboxer

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.

Reply
Loading...
API Support

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about API Support.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post