<?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: Download XLSX files from Dropbox API using NodeJS in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-XLSX-files-from-Dropbox-API-using-NodeJS/m-p/697695#M31165</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1723007"&gt;@GustavoLeopoldo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... The response is ok (200), but I need to use content-Type as binary or Txt. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1723007"&gt;@GustavoLeopoldo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Since you have successfully received your data, you don't need to observe what's the actual transfer type (content-type). This same content is saved as is in your response object as binary/blob and you can do the same like you can to any other such object (i.e. to save as a file, process it, etc.). Just do it; it's not clear what's the actual issue. There is a bunch of data matching exactly to the file downloaded. It's your decision how you would interpret them (text, binary, etc.). The result contains metadata too and it might help you define actual data type.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add: &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/main/examples/typescript/download/index.js#L22" target="_blank" rel="noopener"&gt;Here&lt;/A&gt; is a simple example how a file could be saved. Good luck.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 13:41:10 GMT</pubDate>
    <dc:creator>Здравко</dc:creator>
    <dc:date>2023-07-10T13:41:10Z</dc:date>
    <item>
      <title>Download XLSX files from Dropbox API using NodeJS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-XLSX-files-from-Dropbox-API-using-NodeJS/m-p/697618#M31164</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;I'm having some issues to download XLSX files from Dropbox API using NodeJs. The response is ok (200), but I need to use content-Type as binary or Txt. I would like to download the XLS file SAVE it into a local folder. Could you help me with that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Gustavo&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 10:07:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-XLSX-files-from-Dropbox-API-using-NodeJS/m-p/697618#M31164</guid>
      <dc:creator>GustavoLeopoldo</dc:creator>
      <dc:date>2023-07-10T10:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Download XLSX files from Dropbox API using NodeJS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-XLSX-files-from-Dropbox-API-using-NodeJS/m-p/697695#M31165</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1723007"&gt;@GustavoLeopoldo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... The response is ok (200), but I need to use content-Type as binary or Txt. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1723007"&gt;@GustavoLeopoldo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Since you have successfully received your data, you don't need to observe what's the actual transfer type (content-type). This same content is saved as is in your response object as binary/blob and you can do the same like you can to any other such object (i.e. to save as a file, process it, etc.). Just do it; it's not clear what's the actual issue. There is a bunch of data matching exactly to the file downloaded. It's your decision how you would interpret them (text, binary, etc.). The result contains metadata too and it might help you define actual data type.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add: &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/main/examples/typescript/download/index.js#L22" target="_blank" rel="noopener"&gt;Here&lt;/A&gt; is a simple example how a file could be saved. Good luck.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 13:41:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-XLSX-files-from-Dropbox-API-using-NodeJS/m-p/697695#M31165</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-07-10T13:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Download XLSX files from Dropbox API using NodeJS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-XLSX-files-from-Dropbox-API-using-NodeJS/m-p/697897#M31174</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;It's working properly now. SDK is the best option. Excellent support. Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="gtx-trans" style="position: absolute; left: 185px; top: -17px;"&gt;
&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Jul 2023 09:11:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-XLSX-files-from-Dropbox-API-using-NodeJS/m-p/697897#M31174</guid>
      <dc:creator>GustavoLeopoldo</dc:creator>
      <dc:date>2023-07-11T09:11:24Z</dc:date>
    </item>
  </channel>
</rss>

