Forum Discussion

tuliodepadua's avatar
tuliodepadua
Helpful | Level 6
8 years ago
Solved

Move a folder/file and rewrite on destination if exists.

Hi. Is there any way to move a folder A to a destination folder B, and overwrite the folder on destination B if folder A already exists? Using the move_v2 feature is returned conflict error (http 409). I was not wanting to have to check and delete before copying.

  • No, unfortunately the move API call doesn't currently offer a way to set the write mode (e.g., 'overwrite' in this case), but I'll pass this along as a feature request.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    No, unfortunately the move API call doesn't currently offer a way to set the write mode (e.g., 'overwrite' in this case), but I'll pass this along as a feature request.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 days ago
351 Following

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 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!