Your workflow is unique 👨💻 - tell us how you use Dropbox 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.
1 Reply
- Greg-DB4 years ago
Dropbox Community Moderator
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 and API
Explore Dropbox Developer & API discussions with developers like you.
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!