<?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: How do I download a file from a shared folder with the API? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-download-a-file-from-a-shared-folder-with-the-API/m-p/299897#M18202</link>
    <description>&lt;P&gt;Using&amp;nbsp;sharing/get_shared_link_file, with the 'url' and 'path' parameters, is the right way to get the file data for a file in a folder when you have the shared link for the folder. (And likewise,&amp;nbsp;sharing/get_shared_link_metadata for the file metadata.)&lt;/P&gt;
&lt;P&gt;Are you using an app registered for the "app folder" &lt;A href="https://www.dropbox.com/developers/reference/developer-guide#app-permissions" target="_blank"&gt;permission&lt;/A&gt; to make these calls though?&amp;nbsp;That won't work unfortunately. I'm sending this along to the team to see if we can make that work in the future, but I can't offer a timeline for that.&lt;/P&gt;
&lt;P&gt;Instead, use an app registered for the "full Dropbox" permission to make these calls and they should work. You can &lt;A href="https://www.dropbox.com/developers/apps/create" target="_blank"&gt;register one here&lt;/A&gt; if you don't already have one.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Sep 2018 18:12:40 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-09-28T18:12:40Z</dc:date>
    <item>
      <title>How do I download a file from a shared folder with the API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-download-a-file-from-a-shared-folder-with-the-API/m-p/299670#M18199</link>
      <description>&lt;P&gt;The workflow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I have a Chooser to single select a folder, not a file, not multiple files&lt;/P&gt;&lt;P&gt;- I send the share URL for the folder to my back-end, to create a file browser&lt;/P&gt;&lt;P&gt;- The user selects several files within the shared folder somewhere&lt;/P&gt;&lt;P&gt;- I download&amp;nbsp;the selected files first, and then ALL other files in the folder&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chooser works. The file browser works (with `files/list_folder` and `shared_link`). Downloading any files does NOT work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do a `sharing/get_shared_link_metadata`, I get a `&lt;SPAN&gt;shared_link_access_denied`.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I do a `sharing/get_shared_link_file`, I get a `shared_link_access_denied`.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't see direct download links in `files/list_folder`, so I need another API call using the file's `path` or `id`.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't think I can download shared files with `files/download`, because I can't enter a `shared_link` there, so I need a share API call.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Opening the shared folder link in the browser works. Downloading files from there works. Just not with the API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do I download shared files (or rather: files from a shared folder) with the API?? This is ridiculous. Am I super dumb, or is this super hard?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:10:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-download-a-file-from-a-shared-folder-with-the-API/m-p/299670#M18199</guid>
      <dc:creator>yodirkx</dc:creator>
      <dc:date>2019-05-29T09:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I download a file from a shared folder with the API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-download-a-file-from-a-shared-folder-with-the-API/m-p/299897#M18202</link>
      <description>&lt;P&gt;Using&amp;nbsp;sharing/get_shared_link_file, with the 'url' and 'path' parameters, is the right way to get the file data for a file in a folder when you have the shared link for the folder. (And likewise,&amp;nbsp;sharing/get_shared_link_metadata for the file metadata.)&lt;/P&gt;
&lt;P&gt;Are you using an app registered for the "app folder" &lt;A href="https://www.dropbox.com/developers/reference/developer-guide#app-permissions" target="_blank"&gt;permission&lt;/A&gt; to make these calls though?&amp;nbsp;That won't work unfortunately. I'm sending this along to the team to see if we can make that work in the future, but I can't offer a timeline for that.&lt;/P&gt;
&lt;P&gt;Instead, use an app registered for the "full Dropbox" permission to make these calls and they should work. You can &lt;A href="https://www.dropbox.com/developers/apps/create" target="_blank"&gt;register one here&lt;/A&gt; if you don't already have one.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 18:12:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-download-a-file-from-a-shared-folder-with-the-API/m-p/299897#M18202</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-09-28T18:12:40Z</dc:date>
    </item>
  </channel>
</rss>

