<?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 Javascript API Clarity - filesDownload() in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Javascript-API-Clarity-filesDownload/m-p/282827#M17321</link>
    <description>&lt;P&gt;I've been learning the Javascript API and am having a bumpy journey with filesDownload().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the docs...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor" target="_blank"&gt;http://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...the function is meant to be the way to download a file. However, the only arg it takes is one in which { path, rev } are specified. And the non-error response is a...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://dropbox.github.io/dropbox-sdk-js/global.html#FilesFileMetadata" target="_blank"&gt;http://dropbox.github.io/dropbox-sdk-js/global.html#FilesFileMetadata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...which contains no fields that encapsulate the actual data being returned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upon inspection with a quick console.log() there is a 'fileBlob' field being returned but my concern is that directly accessing this field is an unsupported operation since it isn't listed in the FilesFileMetadata docs. Thus I'm concluding that either the docs are missing that field or that I haven't yet groked the intended workflow for downloading files (implying that the docs could be more helpful here).&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:12:11 GMT</pubDate>
    <dc:creator>abcd12341</dc:creator>
    <dc:date>2019-05-29T09:12:11Z</dc:date>
    <item>
      <title>Javascript API Clarity - filesDownload()</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Javascript-API-Clarity-filesDownload/m-p/282827#M17321</link>
      <description>&lt;P&gt;I've been learning the Javascript API and am having a bumpy journey with filesDownload().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the docs...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor" target="_blank"&gt;http://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...the function is meant to be the way to download a file. However, the only arg it takes is one in which { path, rev } are specified. And the non-error response is a...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://dropbox.github.io/dropbox-sdk-js/global.html#FilesFileMetadata" target="_blank"&gt;http://dropbox.github.io/dropbox-sdk-js/global.html#FilesFileMetadata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...which contains no fields that encapsulate the actual data being returned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upon inspection with a quick console.log() there is a 'fileBlob' field being returned but my concern is that directly accessing this field is an unsupported operation since it isn't listed in the FilesFileMetadata docs. Thus I'm concluding that either the docs are missing that field or that I haven't yet groked the intended workflow for downloading files (implying that the docs could be more helpful here).&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:12:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Javascript-API-Clarity-filesDownload/m-p/282827#M17321</guid>
      <dc:creator>abcd12341</dc:creator>
      <dc:date>2019-05-29T09:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript API Clarity - filesDownload()</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Javascript-API-Clarity-filesDownload/m-p/282927#M17326</link>
      <description>Using 'fileBlob' in browser JavaScript (or 'fileBinary' in Node) is the correct way to access the file data itself. Apologies that this isn't better documented! I'll ask the team to clarify that in the docs.&lt;BR /&gt;&lt;BR /&gt;There's an example of using that with a Content-Download style method like this here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/download/index.html#L53" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-js/blob/master/examples/javascript/download/index.html#L53&lt;/A&gt;</description>
      <pubDate>Mon, 02 Jul 2018 15:38:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Javascript-API-Clarity-filesDownload/m-p/282927#M17326</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-07-02T15:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript API Clarity - filesDownload()</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Javascript-API-Clarity-filesDownload/m-p/769734#M33663</link>
      <description>&lt;P&gt;@greg still not documented 6 years later what is the type of&amp;nbsp;&lt;SPAN&gt;fileBinary is it a Blob ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 10:25:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Javascript-API-Clarity-filesDownload/m-p/769734#M33663</guid>
      <dc:creator>Dzivo</dc:creator>
      <dc:date>2024-05-10T10:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript API Clarity - filesDownload()</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Javascript-API-Clarity-filesDownload/m-p/769760#M33664</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1835572"&gt;@Dzivo&lt;/a&gt; The fileBinary returned by the Dropbox JavaScript SDK in Node is a Buffer. (The fileBlob returned by the Dropbox JavaScript SDK in browser JavaScript is a Blob.)&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 13:01:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Javascript-API-Clarity-filesDownload/m-p/769760#M33664</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-10T13:01:55Z</dc:date>
    </item>
  </channel>
</rss>

