<?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: Can't upload file to a shared folder in Dropbox Business in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273061#M16231</link>
    <description>&lt;P&gt;To be clear, can you confirm if you are referring to the "team space" I mentioned? (If not, and you just want to upload to a share folder mounted inside your member folder, you can use the path from&amp;nbsp;Sharing.ListFoldersAsync.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are trying to upload to the team space, once you know the namespace ID, you can use that as the path root.&amp;nbsp;&lt;SPAN&gt;With the .NET SDK you can operate on the team space by setting the "Dropbox-API-Path-Root" header.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The .NET SDK supports setting the Dropbox-Api-Path-Root header, via&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_DropboxClient_WithPathRoot.htm" rel="noreferrer" target="_blank"&gt;DropboxClient.WithPathRoot&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can access the team shared space by using DropboxClient.WithPathRoot to set Dropbox-Api-Path-Root header:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;this.client = this.client.WithPathRoot(new PathRoot.NamespaceId(&amp;lt;namespace ID&amp;gt;));&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, please share the code and output that isn't working for you so I can get a better idea of what you're trying to do specifically.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2018 21:10:33 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-04-18T21:10:33Z</dc:date>
    <item>
      <title>Can't upload file to a shared folder in Dropbox Business</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273025#M16228</link>
      <description>&lt;P&gt;I am having difficulty uploading a file to any shared folders that I currently has access to (and I can see&amp;nbsp;my access via .Sharing.ListFoldersAsync()). Regardless of how I change the path in&amp;nbsp;Files.UploadAsync(), the file will always go to a member's personal/root folder, not our shared folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to upload files to a shared folder or is that not an available function in the api at this time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The app is based on the SimpleTest app (v2) that is available under Dropbox for .NET Developers page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Access Type:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"Full Dropbox" listed under the Connected apps page.&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;"Team member file access&lt;/SPAN&gt;" under the Team apps page.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 29 May 2019 09:13:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273025#M16228</guid>
      <dc:creator>YKatz</dc:creator>
      <dc:date>2019-05-29T09:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can't upload file to a shared folder in Dropbox Business</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273026#M16229</link>
      <description>&lt;P&gt;It sounds like you're referring to accessing the "&lt;A href="https://www.dropbox.com/help/business/team-space-overview" target="_self"&gt;team space&lt;/A&gt;". We have a namespace guide here that covers how to access that via the API:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/reference/namespace-guide" target="_self"&gt;https://www.dropbox.com/developers/reference/namespace-guide&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 17:45:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273026#M16229</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-18T17:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can't upload file to a shared folder in Dropbox Business</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273038#M16230</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Okay I&amp;nbsp;am able to access the shared folders using&amp;nbsp;Team.NamespacesListAsync() but&amp;nbsp;NamespaceMetadata doesn't provide any file path to use in order to upload files to it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 19:10:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273038#M16230</guid>
      <dc:creator>YKatz</dc:creator>
      <dc:date>2018-04-18T19:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can't upload file to a shared folder in Dropbox Business</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273061#M16231</link>
      <description>&lt;P&gt;To be clear, can you confirm if you are referring to the "team space" I mentioned? (If not, and you just want to upload to a share folder mounted inside your member folder, you can use the path from&amp;nbsp;Sharing.ListFoldersAsync.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are trying to upload to the team space, once you know the namespace ID, you can use that as the path root.&amp;nbsp;&lt;SPAN&gt;With the .NET SDK you can operate on the team space by setting the "Dropbox-API-Path-Root" header.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The .NET SDK supports setting the Dropbox-Api-Path-Root header, via&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_DropboxClient_WithPathRoot.htm" rel="noreferrer" target="_blank"&gt;DropboxClient.WithPathRoot&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can access the team shared space by using DropboxClient.WithPathRoot to set Dropbox-Api-Path-Root header:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;this.client = this.client.WithPathRoot(new PathRoot.NamespaceId(&amp;lt;namespace ID&amp;gt;));&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, please share the code and output that isn't working for you so I can get a better idea of what you're trying to do specifically.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 21:10:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273061#M16231</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-18T21:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't upload file to a shared folder in Dropbox Business</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273203#M16250</link>
      <description>Hi Greg,&lt;BR /&gt;&lt;BR /&gt;Thanks for the code example, I've managed to get it working on my end.</description>
      <pubDate>Thu, 19 Apr 2018 18:56:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Can-t-upload-file-to-a-shared-folder-in-Dropbox-Business/m-p/273203#M16250</guid>
      <dc:creator>YKatz</dc:creator>
      <dc:date>2018-04-19T18:56:42Z</dc:date>
    </item>
  </channel>
</rss>

