<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to upload duplicate files using C# in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Unable-to-upload-duplicate-files-using-C/m-p/578603#M2402</link>
    <description>&lt;P&gt;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 &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_WriteMode.htm" target="_self"&gt;uploading identical data to the same path results in no change&lt;/A&gt;. If you do want additional duplicate copies created, you can set 'strictConflict: true' and 'autorename:true' on your &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadAsync_1.htm" target="_self"&gt;UploadAsync&lt;/A&gt; call though.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 16:32:03 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-02-17T16:32:03Z</dc:date>
    <item>
      <title>Unable to upload duplicate files using C#</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Unable-to-upload-duplicate-files-using-C/m-p/578582#M2401</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;FileMetadata data = await token.Files.UploadAsync("/" + Folder + "/" + file.FileName, WriteMode.Add.Instance, body: memoryStream);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
this is my code and I'm unable to upload duplicate files.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Feb 2022 21:05:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Unable-to-upload-duplicate-files-using-C/m-p/578582#M2401</guid>
      <dc:creator>hinjorr</dc:creator>
      <dc:date>2022-02-17T21:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload duplicate files using C#</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Unable-to-upload-duplicate-files-using-C/m-p/578603#M2402</link>
      <description>&lt;P&gt;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 &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Files_WriteMode.htm" target="_self"&gt;uploading identical data to the same path results in no change&lt;/A&gt;. If you do want additional duplicate copies created, you can set 'strictConflict: true' and 'autorename:true' on your &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadAsync_1.htm" target="_self"&gt;UploadAsync&lt;/A&gt; call though.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 16:32:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Unable-to-upload-duplicate-files-using-C/m-p/578603#M2402</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-02-17T16:32:03Z</dc:date>
    </item>
  </channel>
</rss>

