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
XiangZhou
2 years agoNew member | Level 2
How to merge two folders with Dropbox.Net SDK?
Dear support, To rename a folder, I call the MoveV2Async(pathOld, pathNew). If the pathNew exists, it fails with an error "to/conflict/folder/". If the destination folder already exists, ...
Здравко
2 years agoLegendary | Level 20
Hi XiangZhou,
As seems, there is no option to 'merge' files/folders using move by now. What you can do depends on what exactly you want achieve. If you just want to replace the existing folder, it becomes easy - delete the existing folder and move there the desired one (on the follow up try, after the remove). In such a way entire content of existing folder will gone (doesn't matter are there parts that don't overlap). If you want to keep non overlapping parts, you have to implement recursive algorithm that walk through the folder tree of the source folder and perform try move (eventually followed by delete and move) for files only. At the end, you'll need remove the source folder (there will be eventually empty subfolders only). If you want to merge files content further, then some content specific algorithms will also need as a part of the recursion.
Hope this gives direction.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,888 PostsLatest Activity: 2 hours agoIf 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 or Facebook.
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!