Showing results for 
Show  only  | Search instead for 
Did you mean: 
Update: Find information on Dropbox support during COVID-19 here

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Manual Synchronising across more than one device

New member | Level 1
New member | Level 1


I must be missing something, I am writing an app in Xamarin C#, the basic requirement is that the app will have access to two folders on Dropbox under the App folder, the first folder is for the specific device, the second folder is a shared folder so that the same app on different devices can share the data.

The first folder works perfectly, backups/restores work without issue, it is the shared folder that I am having trouble with, I worked out that dropbox is working out that the file has changed and uploading the changes, this is no good for me, I need to be able to delete the contents of the shared folder and upload free copies of the data.

Pseudo code.

does the file exist on dropbox

    yes then delete the dropbox copy

    upload a new version of the file completely

This seems to work sometimes, if I log out of both devices it seems to be quite happy to do the upload, but if both devices are connected then it seems to get confused and not work some of the time, I am guessing that the sync api is getting in the way.

All I want to do is copy the file, no fancy syncing e.g. the api keeping an eye on the files and for all the devices to be able to see the same version of the file if that makes sense.




1 Reply 1

Re: Manual Synchronising across more than one device


Can you clarify what you mean by "a shared folder so that the same app on different devices can share the data"? If the different devices are connected to the same account, you don't need a "shared" folder. In that case, just using the app folder permission should be sufficient. You can make subfolders inside the app's app folder as necessary, and all devices linked to the same account will see them.

Otherwise, if you mean you do need to share data across different accounts, then the app folder permission won't be sufficient, as app folders can't be shared, contain shared folders, or be contained in shared folders. In that case, you'll need to use a different permission:

Beyond that, I'm not sure I follow your question. First, which SDK are you using? If you're using the Sync SDK, you may want to use the Core SDK instead, as the Sync SDK is deprecated, and the Core SDK gives you more control. 

In any case, if you still need help, please follow up and post the SDK/version you're using, the relevant code snippet(s), and any errors/output.

Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?