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, ...
XiangZhou
New member | Level 2
Thanks for your suggestion.
I am trying to implement it manually by deleting files in the destination folder firstly if exist and then move the files.
After calling the DeleteBatchV2Async, how do I safely wait until the files have been completely deleted before calling the MoveBatchAsync. Could you show me some sample code?
Greg-DB
2 years agoDropbox Staff
I don't believe we have sample code for DeleteBatchAsync in particular unfortunately, but you should poll DeleteBatchCheckAsync to see when the job is done. Refer to the documentation linked there for more information.
By the way, it looks like you mixed up DeleteBatchAsync with DeleteV2Async or MoveBatchV2Async; there's no DeleteBatchV2Async.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,888 PostsLatest Activity: 54 minutes 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!