<?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 copy team folder to new team folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/433779#M22935</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to copy a team folder to a new team folder but I am getting an error&amp;nbsp;'from_lookup/not_found/.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Used id:.... format and path, no one works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c# api, code:&lt;/P&gt;&lt;PRE&gt;using (var dbx = new DropboxTeamClient(tokenMemberFile))
{
var memListResult = await dbx.Team.MembersListAsync();
var memId = memListResult.Members.First(x =&amp;gt; x.Profile.Email.Equals(adminEmail))
?.Profile.TeamMemberId;

var folders = await dbx.AsAdmin(memId).Files.ListFolderAsync("");

foreach (var entry in folders.Entries)
{
if (entry.Name.Equals(templateName) &amp;amp;&amp;amp; entry.IsFolder)
{
template = entry.AsFolder;
break;
}
}

var copyRet = await dbx.AsAdmin(memId).Files
.CopyV2Async(template.Id,
"/new",true); &amp;lt;-- error&lt;/PRE&gt;</description>
    <pubDate>Wed, 01 Jul 2020 08:39:47 GMT</pubDate>
    <dc:creator>pacoq</dc:creator>
    <dc:date>2020-07-01T08:39:47Z</dc:date>
    <item>
      <title>copy team folder to new team folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/433779#M22935</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to copy a team folder to a new team folder but I am getting an error&amp;nbsp;'from_lookup/not_found/.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Used id:.... format and path, no one works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c# api, code:&lt;/P&gt;&lt;PRE&gt;using (var dbx = new DropboxTeamClient(tokenMemberFile))
{
var memListResult = await dbx.Team.MembersListAsync();
var memId = memListResult.Members.First(x =&amp;gt; x.Profile.Email.Equals(adminEmail))
?.Profile.TeamMemberId;

var folders = await dbx.AsAdmin(memId).Files.ListFolderAsync("");

foreach (var entry in folders.Entries)
{
if (entry.Name.Equals(templateName) &amp;amp;&amp;amp; entry.IsFolder)
{
template = entry.AsFolder;
break;
}
}

var copyRet = await dbx.AsAdmin(memId).Files
.CopyV2Async(template.Id,
"/new",true); &amp;lt;-- error&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Jul 2020 08:39:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/433779#M22935</guid>
      <dc:creator>pacoq</dc:creator>
      <dc:date>2020-07-01T08:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: copy team folder to new team folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/433914#M22941</link>
      <description>&lt;P&gt;In order to process a copy in the member's folder like this, you should use&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_DropboxTeamClient_AsMember.htm" target="_self"&gt;AsMember&lt;/A&gt; instead of AsAdmin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(For reference, this is because &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-copy" target="_self"&gt;the&amp;nbsp;/2/files/copy_v2 endpoint&lt;/A&gt;&amp;nbsp;uses &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_self"&gt;the "Team Admin" mode for "Dropbox-API-Select-Admin"&lt;/A&gt;, meaning it can't access the member's private files.)&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 15:48:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/433914#M22941</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-01T15:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: copy team folder to new team folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435340#M22980</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hello, with member works but I get this error 'to/conflict/folder/...&lt;/P&gt;&lt;P&gt;how can I indicate that I want to copy inside the folder ?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 06:55:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435340#M22980</guid>
      <dc:creator>pacoq</dc:creator>
      <dc:date>2020-07-07T06:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: copy team folder to new team folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435447#M22984</link>
      <description>&lt;P&gt;A 'to/conflict/folder' error indicates that the call failed because there's already a folder at the specified destination path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're trying to a copy a folder to the inside of another folder, your destination path needs to include the desired name of the folder copy itself, in addition to any parent components, and not refer to a path that already exists.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if you have a folder named "folder", and want to make a copy of it inside another pre-existing folder called "parent", your destination path should be "/parent/folder" (not just "/parent").&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 15:25:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435447#M22984</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-07T15:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: copy team folder to new team folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435458#M22986</link>
      <description>&lt;P&gt;so if i need to copy the entire folder to other folder i must go folder by folder?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 15:45:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435458#M22986</guid>
      <dc:creator>pacoq</dc:creator>
      <dc:date>2020-07-07T15:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: copy team folder to new team folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435461#M22987</link>
      <description>&lt;P&gt;I'm not sure I understand your question. Are you referring to the folder's contents? If you copy a folder, it will copy the entirety of the folder's contents, including any subfolders.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 15:49:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435461#M22987</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-07T15:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: copy team folder to new team folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435753#M22999</link>
      <description>&lt;P&gt;yes, i want to copy one team folder&amp;nbsp; to other team folder&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 15:16:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435753#M22999</guid>
      <dc:creator>pacoq</dc:creator>
      <dc:date>2020-07-08T15:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: copy team folder to new team folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435757#M23002</link>
      <description>&lt;P&gt;When copying a folder, if it has subfolders inside it, you do not need to iterate over the subfolders. Copying a folder will copy the entire folder, including any contents, such as sub folders.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 15:33:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/copy-team-folder-to-new-team-folder/m-p/435757#M23002</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-08T15:33:12Z</dc:date>
    </item>
  </channel>
</rss>

