<?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 file in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file/m-p/287882#M17612</link>
    <description>To download a file using /2/files/download by specifying a file ID, the access token you're using needs to be for an account that has that file.&lt;BR /&gt;&lt;BR /&gt;If you want to download a file from a different account using the shared link, you should use /2/sharing/get_shared_link_file to do so:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_file" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_file&lt;/A&gt;</description>
    <pubDate>Mon, 30 Jul 2018 18:33:05 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-07-30T18:33:05Z</dc:date>
    <item>
      <title>Download file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file/m-p/287872#M17609</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I shared the folder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Got the file id&amp;nbsp;using the method:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;/files/list_folder&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;I'm trying to download a file by id:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://content.dropboxapi.com/2/files/download \
  --header 'Authorization: Bearer &amp;lt;&amp;lt;api_token&amp;gt;&amp;gt;' \
  --header 'Dropbox-API-Arg: {"path":"id:xRv0UGd0k-AAAAAAAAACgA"}' &lt;/PRE&gt;
&lt;P&gt;The file is downloaded without problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a link to another folder&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Got the file id&amp;nbsp;using the method:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;/files/list_folder&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;I'm trying to download a file by id:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://content.dropboxapi.com/2/files/download \
  --header 'Authorization: Bearer &amp;lt;&amp;lt;api_token&amp;gt;&amp;gt;' \
  --header 'Dropbox-API-Arg: {"path":"&lt;SPAN&gt;id:07Db0pnr9jAAAAAAAAAD8g&lt;/SPAN&gt;"}' &lt;/PRE&gt;
&lt;P&gt;Download file does not work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{"error_summary": "path/not_found/..", "error": {".tag": "path", "path": {".tag": "not_found"}}}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What could be the reason?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need: Download the file "&lt;EM&gt;Прайс DAYSTAR NEW от 30.07 .xlsx&lt;/EM&gt;" from the link&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is this best done?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.&amp;nbsp;I used google translate) Sorry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:11:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file/m-p/287872#M17609</guid>
      <dc:creator>New_Horizons</dc:creator>
      <dc:date>2019-05-29T09:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Download file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file/m-p/287882#M17612</link>
      <description>To download a file using /2/files/download by specifying a file ID, the access token you're using needs to be for an account that has that file.&lt;BR /&gt;&lt;BR /&gt;If you want to download a file from a different account using the shared link, you should use /2/sharing/get_shared_link_file to do so:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_file" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_file&lt;/A&gt;</description>
      <pubDate>Mon, 30 Jul 2018 18:33:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-file/m-p/287882#M17612</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-07-30T18:33:05Z</dc:date>
    </item>
  </channel>
</rss>

