<?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 Problem with copy folder api in c# in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/373974#M21026</link>
    <description>&lt;P&gt;I have created a team folder structure with subfolder levels and I create these folders with the dropbox api.&lt;BR /&gt;Structure&lt;/P&gt;
&lt;P&gt;Folder Level 1:&amp;nbsp; Companies&lt;BR /&gt;Folder Level 2:&amp;nbsp; Customers&lt;BR /&gt;Folder level 3:&amp;nbsp; Projects&lt;BR /&gt;&lt;BR /&gt;For every level folders I set specific users permissions.&lt;BR /&gt;Now I would like to copy a Project folder with all files and insert it in the same Customer Folder with a specific folder name and specific users that I should set.&lt;BR /&gt;When I use&lt;/P&gt;
&lt;PRE&gt;await dropbox.Files.CopyV2Async(originFolder, destinationFolder, true, true, true)&lt;/PRE&gt;
&lt;P&gt;, it will copy the full folder but the users are the same of the origin folder.&lt;BR /&gt;I use the method&lt;/P&gt;
&lt;PRE&gt;await dropbox.Files.GetMetadataAsync(folder)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;to retrieve the share folder Id but in this scenario it is Null.&lt;BR /&gt;Without share folder Id I cannot insert or remove users from this new folder.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;What am i doing wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 11:37:15 GMT</pubDate>
    <dc:creator>Pierluigi2019</dc:creator>
    <dc:date>2019-10-24T11:37:15Z</dc:date>
    <item>
      <title>Problem with copy folder api in c#</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/373974#M21026</link>
      <description>&lt;P&gt;I have created a team folder structure with subfolder levels and I create these folders with the dropbox api.&lt;BR /&gt;Structure&lt;/P&gt;
&lt;P&gt;Folder Level 1:&amp;nbsp; Companies&lt;BR /&gt;Folder Level 2:&amp;nbsp; Customers&lt;BR /&gt;Folder level 3:&amp;nbsp; Projects&lt;BR /&gt;&lt;BR /&gt;For every level folders I set specific users permissions.&lt;BR /&gt;Now I would like to copy a Project folder with all files and insert it in the same Customer Folder with a specific folder name and specific users that I should set.&lt;BR /&gt;When I use&lt;/P&gt;
&lt;PRE&gt;await dropbox.Files.CopyV2Async(originFolder, destinationFolder, true, true, true)&lt;/PRE&gt;
&lt;P&gt;, it will copy the full folder but the users are the same of the origin folder.&lt;BR /&gt;I use the method&lt;/P&gt;
&lt;PRE&gt;await dropbox.Files.GetMetadataAsync(folder)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;to retrieve the share folder Id but in this scenario it is Null.&lt;BR /&gt;Without share folder Id I cannot insert or remove users from this new folder.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;What am i doing wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 11:37:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/373974#M21026</guid>
      <dc:creator>Pierluigi2019</dc:creator>
      <dc:date>2019-10-24T11:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copy folder api in c#</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/374024#M21033</link>
      <description>&lt;P&gt;I'm not sure I fully understand your question, so if not, please share some more specific details as an example so I can review it better. You can share privately &lt;A href="https://www.dropbox.com/developers/contact" target="_self"&gt;here&lt;/A&gt; if you prefer.&lt;/P&gt;
&lt;P&gt;From your description though, note that if the result of&amp;nbsp;GetMetadataAsync doesn't have&amp;nbsp;FolderSharingInfo.SharedFolderId set, it means that the folder itself is not a shared folder. Consequently, you can't add users to it directly. It sounds like it's underneath another shared folder though, in&amp;nbsp;which case&amp;nbsp;it would inherit its sharing properties from the shared parent folder, and FolderSharingInfo.ParentSharedFolderId would be set to the shared folder ID of the shared parent folder.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 14:02:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/374024#M21033</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-10-24T14:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copy folder api in c#</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/374052#M21034</link>
      <description>&lt;P&gt;All my folders are shared folders.&lt;BR /&gt;The problem is:&lt;BR /&gt;when I use this line of code&lt;/P&gt;&lt;PRE&gt;await dropbox.Files.CopyV2Async(originFolder, destinationFolder, true, true, true)&lt;/PRE&gt;&lt;P&gt;I expect that the destination folder (if not exists) will be created like "shared folder" and then I should add the users, but it isn't.&lt;BR /&gt;It happens exactly like you described.&lt;BR /&gt;"sharing properties from the shared parent folder, and FolderSharingInfo.ParentSharedFolderId would be set to the shared folder ID of the shared parent folder."&lt;BR /&gt;&lt;BR /&gt;My question is how I should copy a folder where the "destination folder" will be like a new shared one with only me like user?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 15:03:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/374052#M21034</guid>
      <dc:creator>Pierluigi2019</dc:creator>
      <dc:date>2019-10-24T15:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copy folder api in c#</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/374075#M21035</link>
      <description>&lt;P&gt;I see, thanks for clarifying.&lt;/P&gt;
&lt;P&gt;When you make a copy of a folder, such as by using&amp;nbsp;CopyV2Async, you're only making a distinct copy of the folder and its contents; it does not copy over the sharing properties of the original.&lt;/P&gt;
&lt;P&gt;The resulting copy of the folder will inherit the sharing properties of its shared parent, if any. Or, if you want to share the copy itself, you will then need to call&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_ShareFolderAsync_1.htm" target="_self"&gt;ShareFolderAsync&lt;/A&gt; to share the new copy, and&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_AddFolderMemberAsync_1.htm" target="_self"&gt;AddFolderMemberAsync&lt;/A&gt; to add members, as desired.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 15:54:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/374075#M21035</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-10-24T15:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copy folder api in c#</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/374222#M21040</link>
      <description>&lt;P&gt;I did like you described and everything works.&lt;BR /&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 07:21:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-copy-folder-api-in-c/m-p/374222#M21040</guid>
      <dc:creator>Pierluigi2019</dc:creator>
      <dc:date>2019-10-25T07:21:27Z</dc:date>
    </item>
  </channel>
</rss>

