Join the Conversation: The Dash Community Is Now Open! ✨🎉
Forum Discussion
John Thomson
5 years agoExplorer | Level 3
How can code identify conflicted copies?
We are developing an application which will work with Dropbox folders. We would like to hide "conflicted copy" files from most users, moving them to another place where administrators will sort out conflicts.
To do this we need to write code which can scan a folder and find any "conflicted copy" files.
However, the name that Dropbox generates varies with the system language...for example, it might be "Copie en conflit" (French) or "конфликтующая копия" (Russian).
Can someone provide a comprehensive list of strings to search for, or suggest any other way of identifying files that are the result of Dropbox resolving conflicts?
2 Replies
- Здравко5 years agoLegendary | Level 20
John Thomson wrote:
...Can someone provide a comprehensive list of strings to search for, or suggest any other way of identifying files that are the result of Dropbox resolving conflicts?
Hi John Thomson,
Even somebody give you such actual list, nobody can guarantee for further additions and/or changes! Better try detect looming conflicts, if this applicable for your project, and if there is , just upload to the "another place". Take a look on "mode", "autorename", and "strict_conflict" parameters of 2/files/upload (and similar).
Hope this helps.
- Greg-DB5 years ago
Dropbox Community Moderator
John Thomson Dropbox doesn't offer an official way to detect conflicted copies like this, or a full list of the translations of "conflicted copy", but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!