<?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 How do I write a client program to access a shared folder? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-write-a-client-program-to-access-a-shared-folder/m-p/378113#M21190</link>
    <description>&lt;P&gt;Hello -&lt;/P&gt;
&lt;P&gt;I am new to Dropbox API/client programming. I was able to get a basic program running. It access a folder owned by someone else but is shared with me. However, at the moment, I have to get an access token from the developer API portal everytime I ran the program. I am wondering what is the proper design to build a permenant solution?&lt;/P&gt;
&lt;P&gt;Here is more details&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A coworker shared a Dropbox Paper Business folder with me&lt;/LI&gt;
&lt;LI&gt;I need to upload some files, via a client program (not manually), at the end of a batch job&lt;/LI&gt;
&lt;LI&gt;I created an App, got a permenant access token. By default, the client program can only access the folders created under the "App/app_name" directory. At least that is what I know&lt;/LI&gt;
&lt;LI&gt;What do I need to do, so that my App can write to the shared folder? Assuming I cannot rename/re-locate the said folder&lt;/LI&gt;
&lt;LI&gt;If this is not the right approach, what's the alternative?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 19:31:42 GMT</pubDate>
    <dc:creator>bingwu123</dc:creator>
    <dc:date>2019-11-12T19:31:42Z</dc:date>
    <item>
      <title>How do I write a client program to access a shared folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-write-a-client-program-to-access-a-shared-folder/m-p/378113#M21190</link>
      <description>&lt;P&gt;Hello -&lt;/P&gt;
&lt;P&gt;I am new to Dropbox API/client programming. I was able to get a basic program running. It access a folder owned by someone else but is shared with me. However, at the moment, I have to get an access token from the developer API portal everytime I ran the program. I am wondering what is the proper design to build a permenant solution?&lt;/P&gt;
&lt;P&gt;Here is more details&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A coworker shared a Dropbox Paper Business folder with me&lt;/LI&gt;
&lt;LI&gt;I need to upload some files, via a client program (not manually), at the end of a batch job&lt;/LI&gt;
&lt;LI&gt;I created an App, got a permenant access token. By default, the client program can only access the folders created under the "App/app_name" directory. At least that is what I know&lt;/LI&gt;
&lt;LI&gt;What do I need to do, so that my App can write to the shared folder? Assuming I cannot rename/re-locate the said folder&lt;/LI&gt;
&lt;LI&gt;If this is not the right approach, what's the alternative?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 19:31:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-write-a-client-program-to-access-a-shared-folder/m-p/378113#M21190</guid>
      <dc:creator>bingwu123</dc:creator>
      <dc:date>2019-11-12T19:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a client program to access a shared folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-write-a-client-program-to-access-a-shared-folder/m-p/378123#M21192</link>
      <description>&lt;P&gt;It sounds like you've registered an API app with the "app folder" &lt;A href="https://www.dropbox.com/developers/reference/developer-guide#app-permissions" target="_self"&gt;permission&lt;/A&gt;. Currently, app folders are incompatible with shared folders, meaning you can't share an app folder, put a shared folder inside an app folder or put an app folder in a shared folder.&lt;/P&gt;
&lt;P&gt;Instead, if you need to use the API to access a shared folder, you'll need to use "full Dropbox" permission, as opposed to the app folder permission.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you've already registered an app using the app folder permission, you can register another with the full Dropbox permission &lt;A href="https://www.dropbox.com/developers/apps/create" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Once you've done so, you can get an access token for your account for that new app like you did for the old app, and use the new access token to access the shared folder in your account. You can store and re-use the access token so you don't have to retrieve a new one each time.&lt;/P&gt;
&lt;P&gt;You may also want to check out the &lt;A href="https://www.dropbox.com/developers/reference/content-access-guide" target="_self"&gt;Content Access Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/reference/namespace-guide" target="_self"&gt;Namespace Guide&lt;/A&gt; for more context on how the&amp;nbsp;Dropbox file system works with the API.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 19:15:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-write-a-client-program-to-access-a-shared-folder/m-p/378123#M21192</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-11-12T19:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a client program to access a shared folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-write-a-client-program-to-access-a-shared-folder/m-p/378332#M21207</link>
      <description>&lt;P&gt;Thanks! Works like a charm.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 17:48:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-write-a-client-program-to-access-a-shared-folder/m-p/378332#M21207</guid>
      <dc:creator>bingwu123</dc:creator>
      <dc:date>2019-11-13T17:48:04Z</dc:date>
    </item>
  </channel>
</rss>

