You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

gauravsc's avatar
gauravsc
Explorer | Level 3
7 years ago

How to transfer files from one dropbox account to another dropbox account programmatically?

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 d...
  • Greg-DB's avatar
    Greg-DB
    7 years ago

    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.

    So, you should create an app on just one account, and then get an access token for that same app for each of the different accounts.

    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.

    For the other account though, you'll need to use the OAuth app authorization flow:

    https://www.dropbox.com/developers/reference/oauth-guide
    https://www.dropbox.com/developers/documentation/http/documentation#authorization