<?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 Download a file present in shared folder or group folder with team level access token in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Download-a-file-present-in-shared-folder-or-group-folder-with/m-p/367252#M772</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are using Java sdk to access apis of dropbox. Can you guys please inform us how to download content of a file present in a shared folder or group folder with team level access token.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2019 11:23:42 GMT</pubDate>
    <dc:creator>Bharath_Nadig</dc:creator>
    <dc:date>2019-09-26T11:23:42Z</dc:date>
    <item>
      <title>Download a file present in shared folder or group folder with team level access token</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Download-a-file-present-in-shared-folder-or-group-folder-with/m-p/367252#M772</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are using Java sdk to access apis of dropbox. Can you guys please inform us how to download content of a file present in a shared folder or group folder with team level access token.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 11:23:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Download-a-file-present-in-shared-folder-or-group-folder-with/m-p/367252#M772</guid>
      <dc:creator>Bharath_Nadig</dc:creator>
      <dc:date>2019-09-26T11:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Download a file present in shared folder or group folder with team level access token</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Download-a-file-present-in-shared-folder-or-group-folder-with/m-p/367350#M774</link>
      <description>&lt;P&gt;If you're using &lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_self"&gt;the&amp;nbsp;Dropbox Java SDK&lt;/A&gt; with an app with &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#access-types" target="_self"&gt;the "team member file access" permission&lt;/A&gt; and want to download files via &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_self"&gt;the team member file access feature&lt;/A&gt;, you should first make a&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/DbxTeamClientV2.html" target="_self"&gt;DbxTeamClientV2&lt;/A&gt; with the team's access token. Then, you can call&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/DbxTeamClientV2.html#asAdmin-java.lang.String-" target="_self"&gt;DbxTeamClientV2.asAdmin&lt;/A&gt; or&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/DbxTeamClientV2.html#asMember-java.lang.String-" target="_self"&gt;DbxTeamClientV2.asMember&lt;/A&gt;, depending on your use case, to get a&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/DbxClientV2.html" target="_self"&gt;DbxClientV2&lt;/A&gt; with the "Dropbox-API-Select-Admin" or "Dropbox-API-Select-User" header set, respectively.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/DbxClientV2.html#withPathRoot-com.dropbox.core.v2.common.PathRoot-" target="_self"&gt;DbxClientV2.withPathRoot&lt;/A&gt; to set the "Dropbox-API-Path-Root" header if needed. I&amp;nbsp;recommend reviewing the &lt;A href="https://www.dropbox.com/developers/reference/namespace-guide" target="_self"&gt;Namespace Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/reference/content-access-guide" target="_self"&gt;Content Access Guide&lt;/A&gt; for more information on how the filesystem is structured and how to access different parts like this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the resulting&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/DbxClientV2.html" target="_self"&gt;DbxClientV2&lt;/A&gt; to download files as desired using &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#download-java.lang.String-" target="_self"&gt;the&amp;nbsp;DbxUserFilesRequests.download method&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 15:40:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Download-a-file-present-in-shared-folder-or-group-folder-with/m-p/367350#M774</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-09-26T15:40:37Z</dc:date>
    </item>
  </channel>
</rss>

