One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
hinjorr
4 years agoExplorer | Level 3
Unable to upload duplicate files using C#
FileMetadata data = await token.Files.UploadAsync("/" + Folder + "/" + file.FileName, WriteMode.Add.Instance, body: memoryStream);
From your description and code, if you're uploading the exact same data again, the expected behavior in this case would not be to add another file. Note that uploading identical data to the same path results in no change. If you do want additional duplicate copies created, you can set 'strictConflict: true' and 'autorename:true' on your UploadAsync call though.
- Greg-DB
Dropbox Staff
From your description and code, if you're uploading the exact same data again, the expected behavior in this case would not be to add another file. Note that uploading identical data to the same path results in no change. If you do want additional duplicate copies created, you can set 'strictConflict: true' and 'autorename:true' on your UploadAsync call though.
About Discuss Dropbox Developer & API
Make connections with other developers807 PostsLatest Activity: 3 hours ago
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!