<?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: Python: copy files between folders with different owners in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/298964#M18156</link>
    <description>&lt;P&gt;It looks like &lt;A href="https://github.com/andreafabrizi/Dropbox-Uploader/search?q=copy_reference&amp;amp;unscoped_q=copy_reference" target="_self"&gt;the third party library you linked to doesn't implement copy references&lt;/A&gt; unfortunately, so you won't be able to use that for this without modifications.&lt;/P&gt;
&lt;P&gt;You'll need to implement code for linking both users to the app (see the OAuth guide linked earlier) and then the code for getting the copy reference from one account and saving it on the other account (see the documentation for the methods for &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_blank"&gt;the Python SDK&lt;/A&gt; linked earlier).&lt;/P&gt;</description>
    <pubDate>Tue, 25 Sep 2018 00:00:59 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-09-25T00:00:59Z</dc:date>
    <item>
      <title>Python: copy files between folders with different owners</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/229501#M12465</link>
      <description>&lt;P&gt;Dear API support,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to copy files between folders with different owners? &amp;nbsp;I need to adapt a functioning application for copying files under the same ownership.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:21:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/229501#M12465</guid>
      <dc:creator>Olaf B.2</dc:creator>
      <dc:date>2019-05-29T09:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Python: copy files between folders with different owners</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/229567#M12473</link>
      <description>&lt;P&gt;If you mean you want to copy files between shared folders in a particular account where the shared folders have different owners, yes, you can copy them normally, as long as the account you're using has write permissions in the destination folder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.files_copy" target="_blank"&gt;https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.files_copy&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If instead you want to copy files across different accounts entirely, when you have both accounts linked to the app, you can use "copy references" to do so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.files_copy_reference_get" target="_blank"&gt;https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.files_copy_reference_get&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.files_copy_reference_save" target="_blank"&gt;https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.files_copy_reference_save&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 21:43:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/229567#M12473</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-06-27T21:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Python: copy files between folders with different owners</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/298247#M18112</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I link another account to my existing app?&lt;/P&gt;&lt;P&gt;And after that, how do I tell files_copy_reference_save &lt;SPAN&gt;that the path&amp;nbsp;to save is for the other account?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 18:33:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/298247#M18112</guid>
      <dc:creator>ArgusR</dc:creator>
      <dc:date>2018-09-20T18:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Python: copy files between folders with different owners</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/298273#M18116</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/781722"&gt;@ArgusR&lt;/a&gt;&amp;nbsp;You should implement&amp;nbsp;the OAuth app authorization flow in your app to allow arbitrary users to connect to it. You can find information on how this works in the OAuth guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/reference/oauth-guide" target="_blank"&gt;https://www.dropbox.com/developers/reference/oauth-guide&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There are OAuth 2 flow helpers in the Python SDK:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.oauth.DropboxOAuth2Flow" target="_blank"&gt;https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.oauth.DropboxOAuth2Flow&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;When using&amp;nbsp;&lt;SPAN&gt;files_copy_reference_save in the Python SDK, you specify the path where you want to save the file or folder in the 'path' parameter:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.files_copy_reference_save" target="_blank"&gt;https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.files_copy_reference_save&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 19:18:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/298273#M18116</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-09-20T19:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Python: copy files between folders with different owners</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/298508#M18128</link>
      <description>&lt;P&gt;Thank you for your quick reply Greg.&lt;/P&gt;&lt;P&gt;I'm trying to understand the implementation, sorry but I'm new to this.&lt;/P&gt;&lt;P&gt;I only have the developer App inside dropbox, nothing else anywere. I created this&amp;nbsp;app to get the token and use the python script dropbox-uploader (&lt;A href="https://github.com/andreafabrizi/Dropbox-Uploader" target="_blank"&gt;https://github.com/andreafabrizi/Dropbox-Uploader&lt;/A&gt;), so I don't have any web or mobile app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to link two accounts to share some files without having to download and upload again.&lt;/P&gt;&lt;P&gt;There is a easy way to create this link request?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 23:07:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/298508#M18128</guid>
      <dc:creator>ArgusR</dc:creator>
      <dc:date>2018-09-21T23:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python: copy files between folders with different owners</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/298964#M18156</link>
      <description>&lt;P&gt;It looks like &lt;A href="https://github.com/andreafabrizi/Dropbox-Uploader/search?q=copy_reference&amp;amp;unscoped_q=copy_reference" target="_self"&gt;the third party library you linked to doesn't implement copy references&lt;/A&gt; unfortunately, so you won't be able to use that for this without modifications.&lt;/P&gt;
&lt;P&gt;You'll need to implement code for linking both users to the app (see the OAuth guide linked earlier) and then the code for getting the copy reference from one account and saving it on the other account (see the documentation for the methods for &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_blank"&gt;the Python SDK&lt;/A&gt; linked earlier).&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 00:00:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-copy-files-between-folders-with-different-owners/m-p/298964#M18156</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-09-25T00:00:59Z</dc:date>
    </item>
  </channel>
</rss>

