<?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 Want to perform Download Operation in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Want-to-perform-Download-Operation/m-p/732584#M3773</link>
    <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I want to perform download operation but it is only give information about file&lt;BR /&gt;I use this :&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;try &lt;/SPAN&gt;{&lt;BR /&gt;    &lt;SPAN&gt;outputViews&lt;/SPAN&gt;.write(&lt;SPAN&gt;documentUtility&lt;/SPAN&gt;.newDocument(client.files().download(&lt;SPAN&gt;filePath&lt;/SPAN&gt;)))&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;} &lt;SPAN&gt;catch &lt;/SPAN&gt;(DbxException e) {&lt;BR /&gt;    &lt;SPAN&gt;throw new &lt;/SPAN&gt;RuntimeException(e)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;I want to perform download operation. If their any other way to perform or if their any need to changes please help in this&amp;nbsp;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2023 12:03:03 GMT</pubDate>
    <dc:creator>Adi4</dc:creator>
    <dc:date>2023-11-27T12:03:03Z</dc:date>
    <item>
      <title>Want to perform Download Operation</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Want-to-perform-Download-Operation/m-p/732584#M3773</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I want to perform download operation but it is only give information about file&lt;BR /&gt;I use this :&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;try &lt;/SPAN&gt;{&lt;BR /&gt;    &lt;SPAN&gt;outputViews&lt;/SPAN&gt;.write(&lt;SPAN&gt;documentUtility&lt;/SPAN&gt;.newDocument(client.files().download(&lt;SPAN&gt;filePath&lt;/SPAN&gt;)))&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;} &lt;SPAN&gt;catch &lt;/SPAN&gt;(DbxException e) {&lt;BR /&gt;    &lt;SPAN&gt;throw new &lt;/SPAN&gt;RuntimeException(e)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;I want to perform download operation. If their any other way to perform or if their any need to changes please help in this&amp;nbsp;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 12:03:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Want-to-perform-Download-Operation/m-p/732584#M3773</guid>
      <dc:creator>Adi4</dc:creator>
      <dc:date>2023-11-27T12:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Want to perform Download Operation</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Want-to-perform-Download-Operation/m-p/732613#M3774</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1759968"&gt;@Adi4&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Keep in mind that &lt;A title="Download a file from a user's Dropbox" href="https://github.com/dropbox/dropbox-sdk-java/blob/main/core/generated_stone_source/main/src/com/dropbox/core/v2/files/DbxUserFilesRequests.java#L1292" target="_blank" rel="noopener"&gt;download&lt;/A&gt; method, you're using, returns &lt;A title="Provides methods for downloading a request body and reading the server response" href="https://github.com/dropbox/dropbox-sdk-java/blob/main/core/src/main/java/com/dropbox/core/DbxDownloader.java" target="_blank" rel="noopener"&gt;DbxDownloader&lt;/A&gt; object representing the entire response, not directly the content! This object contains the file metadata as well as stream usable for fetch the actual file's content. As seems, you handle object as data - something that stringify current object state (usually the metadata).&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 13:50:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Want-to-perform-Download-Operation/m-p/732613#M3774</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-11-27T13:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Want to perform Download Operation</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Want-to-perform-Download-Operation/m-p/732658#M3783</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1759968"&gt;@Adi4&lt;/a&gt;&amp;nbsp;Здравко is correct; that &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.4.3/com/dropbox/core/v2/files/DbxUserFilesRequests.html#download(java.lang.String)" target="_self"&gt;download&lt;/A&gt; method returns a &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.4.3/com/dropbox/core/DbxDownloader.html" target="_self"&gt;DbxDownloader&lt;/A&gt;, not the file data directly. Refer to the linked documentation for more information on using that functionality.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 15:49:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Want-to-perform-Download-Operation/m-p/732658#M3783</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-11-27T15:49:23Z</dc:date>
    </item>
  </channel>
</rss>

