<?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 to transfer files from one dropbox account to another dropbox account programmatically? in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/294909#M161</link>
    <description>&lt;P&gt;I am lookingfor a way to transfer files from one account to another dropbox account. I would like to achieve this programmatically (.Net/ Javascript). I tried to look up in forum/stack overflow and drop box docs, but unable to find any relative explanation. I want to do it on dropbox side, like if there is any api call or something available which lets me to copy files, rather than downloading from one account and uploading again on another. If something is there, please help. I am starting to develop and kind of new here on this platform.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:05:48 GMT</pubDate>
    <dc:creator>gauravsc</dc:creator>
    <dc:date>2019-05-29T09:05:48Z</dc:date>
    <item>
      <title>How to transfer files from one dropbox account to another dropbox account programmatically?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/294909#M161</link>
      <description>&lt;P&gt;I am lookingfor a way to transfer files from one account to another dropbox account. I would like to achieve this programmatically (.Net/ Javascript). I tried to look up in forum/stack overflow and drop box docs, but unable to find any relative explanation. I want to do it on dropbox side, like if there is any api call or something available which lets me to copy files, rather than downloading from one account and uploading again on another. If something is there, please help. I am starting to develop and kind of new here on this platform.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:05:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/294909#M161</guid>
      <dc:creator>gauravsc</dc:creator>
      <dc:date>2019-05-29T09:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files from one dropbox account to another dropbox account programmatically?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/294946#M162</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;Dropbox offers the ability to programmtically copy files between accounts without downloading and re-uploading them via the use of "copy references". You can find the documentation for it at the following links:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-get" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-get&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-save" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-save&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation" target="_blank"&gt;https://www.dropbox.com/developers/documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Those have corresponding native methods for the HTTPS endpoints.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet" target="_blank"&gt;the .NET SDK&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_CopyReferenceGetAsync_1.htm" target="_blank"&gt;https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_CopyReferenceGetAsync_1.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_CopyReferenceSaveAsync_1.htm" target="_blank"&gt;https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_CopyReferenceSaveAsync_1.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And in &lt;A href="https://github.com/dropbox/dropbox-sdk-js" target="_blank"&gt;the JavaScript SDK&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesCopyReferenceGet__anchor" target="_blank"&gt;https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesCopyReferenceGet__anchor&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesCopyReferenceSave__anchor" target="_blank"&gt;https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesCopyReferenceSave__anchor&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 13:49:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/294946#M162</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-08-31T13:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files from one dropbox account to another dropbox account programmatically?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/295245#M168</link>
      <description>&lt;P&gt;Hi Greg&lt;/P&gt;
&lt;P&gt;Thank you very much for your reply. I have checked the documentation and it is very helpful. Now i am trying to simulate copy-paste as specified in above docs in postman. I am getting copy reference but when i try to save using the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-save" target="_blank" rel="noopener noreferrer"&gt;copy_reference-save&lt;/A&gt;, i get no permission error. What i am doing is:&lt;BR /&gt;1. Create app in source account, from which i need to copy the file.&lt;/P&gt;
&lt;P&gt;2. Create access token from source account with full rights.&lt;/P&gt;
&lt;P&gt;3. Repeat above steps for destination account.&lt;/P&gt;
&lt;P&gt;4. Send post request to &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-get" target="_blank" rel="noopener noreferrer"&gt;copy_reference-get&lt;/A&gt; with access token of source account. Here i get copy reference as response.&lt;/P&gt;
&lt;P&gt;5. Send post request to &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-save" target="_blank" rel="noopener noreferrer"&gt;copy_reference-save&lt;/A&gt; with access token of destination account. Here i get error as no_permission.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error -  no_permission" style="width: 458px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/5709i58A866E7D2F001F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="error -  no_permission" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;error -  no_permission&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As i understand, my "destination account app" needs access of source account also. How can i connect "destination account app" to source account.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 07:49:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/295245#M168</guid>
      <dc:creator>gauravsc</dc:creator>
      <dc:date>2018-09-03T07:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files from one dropbox account to another dropbox account programmatically?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/295487#M170</link>
      <description>&lt;P&gt;It sounds like you're using two different apps; one for the source account, and one for the destination account. In order to use a copy reference between two accounts, they'll both need to be connected to the same app.&lt;/P&gt;
&lt;P&gt;So, you should create&amp;nbsp;an app on just one account, and then get an access token for that same app for each of the different accounts.&lt;/P&gt;
&lt;P&gt;For the account that owns the app, you can do so easily by using the "Generate" button on the app's page on the App Console.&lt;/P&gt;
&lt;P&gt;For the other account though, you'll need to use the OAuth app authorization flow:&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;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#authorization&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 16:51:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/295487#M170</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-09-04T16:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files from one dropbox account to another dropbox account programmatically?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/295642#M171</link>
      <description>&lt;P&gt;Hi greg, thanks for the reply.&lt;/P&gt;
&lt;P&gt;I am able to replicate copy/paste from postman. If anyone is looking for quick test, here are the steps.&lt;/P&gt;
&lt;P&gt;1. Create app in source account, from which i need to copy the file.&lt;/P&gt;
&lt;P&gt;2. Create access token from source account with full rights.&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;&lt;SPAN&gt;Send post request to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-get" target="_blank" rel="noopener noreferrer noopener noreferrer"&gt;copy_reference-get&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;with access token of source account. Here i get copy reference as response.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;4. Open&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?response_type=token&amp;amp;client_id=&amp;lt;YOUR_APP_KEY&amp;gt;&amp;amp;redirect_uri=&amp;lt;Your" target="_blank"&gt;https://www.dropbox.com/oauth2/authorize?response_type=token&amp;amp;client_id=&amp;lt;YOUR_APP_KEY&amp;gt;&amp;amp;redirect_uri=&amp;lt;Your&lt;/A&gt; redirect url or put any url here&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;5. You will get prompt to login to dropbox, if not already logged in, and then you will be redirected to authorization page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;6. Once you click on allow, access token is generated and will be available from url returned.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;7. This access token can be used in postman for &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-save" target="_blank" rel="noopener noreferrer noopener noreferrer"&gt;copy_reference-save&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 07:15:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-to-transfer-files-from-one-dropbox-account-to-another/m-p/295642#M171</guid>
      <dc:creator>gauravsc</dc:creator>
      <dc:date>2018-09-05T07:15:49Z</dc:date>
    </item>
  </channel>
</rss>

