<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Java: Get Download Link / File as stream? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-Get-Download-Link-File-as-stream/m-p/364212#M20681</link>
    <description>&lt;P&gt;If you're using &lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_self"&gt;the&amp;nbsp;Dropbox API v2 Java SDK&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;a) to get a direct link from which you can download a file, you can use&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#getTemporaryLink-java.lang.String-" target="_self"&gt;the&amp;nbsp;getTemporaryLink method&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;b) to download a file directly as a stream, you can use &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#download-java.lang.String-" target="_self"&gt;the&amp;nbsp;download method&lt;/A&gt;. That will give you a&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/DbxDownloader.html" target="_self"&gt;DbxDownloader&lt;/A&gt;. The example there shows how to get a stream to read the data.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2019 20:07:08 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-09-09T20:07:08Z</dc:date>
    <item>
      <title>Java: Get Download Link / File as stream?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-Get-Download-Link-File-as-stream/m-p/364205#M20680</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;How can I get the file from Dropbox:&lt;/P&gt;
&lt;P&gt;a) As download link&lt;/P&gt;
&lt;P&gt;b) As stream&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 07:57:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-Get-Download-Link-File-as-stream/m-p/364205#M20680</guid>
      <dc:creator>vished</dc:creator>
      <dc:date>2019-09-10T07:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Java: Get Download Link / File as stream?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-Get-Download-Link-File-as-stream/m-p/364212#M20681</link>
      <description>&lt;P&gt;If you're using &lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_self"&gt;the&amp;nbsp;Dropbox API v2 Java SDK&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;a) to get a direct link from which you can download a file, you can use&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#getTemporaryLink-java.lang.String-" target="_self"&gt;the&amp;nbsp;getTemporaryLink method&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;b) to download a file directly as a stream, you can use &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#download-java.lang.String-" target="_self"&gt;the&amp;nbsp;download method&lt;/A&gt;. That will give you a&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/DbxDownloader.html" target="_self"&gt;DbxDownloader&lt;/A&gt;. The example there shows how to get a stream to read the data.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 20:07:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-Get-Download-Link-File-as-stream/m-p/364212#M20681</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-09-09T20:07:08Z</dc:date>
    </item>
  </channel>
</rss>

