<?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 FileMetadata.Rev not working as expected for binary files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-Rev-not-working-as-expected-for-binary-files/m-p/208450#M10295</link>
    <description>&lt;P&gt;I have hit an issue when using the Dropbox API in c# - which in general is excellent. &amp;nbsp;Binary files that have not changed are always updated online if they are recreated but the content has not changed. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found over in the general user area of the forum this thread (&lt;A href="https://www.dropboxforum.com/t5/Syncing-and-uploads/Problems-with-100s-of-files-syncing-even-though-they-haven-t/m-p/35492#M4505" target="_self"&gt;Problems-with-100s-of-files-syncing-even-though-they-haven-t/m-p&lt;/A&gt;) which is the same issue I think that is occurring more generally for all Dropbox users.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To narrow the issue down a bit, when uploading a text file, Dropbox correctly identifies that the file has not changed and does not revise the version online.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When uploading binary files (e.g. zip files), the API doesn't see that the files are the same and updates the file online to the "new" version. &amp;nbsp;I had a quick look at a tiny 340 byte zip file and they look to be identical at the byte level. &amp;nbsp;I'm going to work around this for now and stop binary uploads when the file size with the current live version has not changed, but this is obviously less than ideal and is going to create some (unlikely) edge case issues with the application I'm developing. &amp;nbsp;I'm using the API for c# version 4.2.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if this is a bug, or just that I'm perhaps not using the API correctly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:25:28 GMT</pubDate>
    <dc:creator>Eeedgar</dc:creator>
    <dc:date>2019-05-29T09:25:28Z</dc:date>
    <item>
      <title>FileMetadata.Rev not working as expected for binary files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-Rev-not-working-as-expected-for-binary-files/m-p/208450#M10295</link>
      <description>&lt;P&gt;I have hit an issue when using the Dropbox API in c# - which in general is excellent. &amp;nbsp;Binary files that have not changed are always updated online if they are recreated but the content has not changed. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found over in the general user area of the forum this thread (&lt;A href="https://www.dropboxforum.com/t5/Syncing-and-uploads/Problems-with-100s-of-files-syncing-even-though-they-haven-t/m-p/35492#M4505" target="_self"&gt;Problems-with-100s-of-files-syncing-even-though-they-haven-t/m-p&lt;/A&gt;) which is the same issue I think that is occurring more generally for all Dropbox users.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To narrow the issue down a bit, when uploading a text file, Dropbox correctly identifies that the file has not changed and does not revise the version online.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When uploading binary files (e.g. zip files), the API doesn't see that the files are the same and updates the file online to the "new" version. &amp;nbsp;I had a quick look at a tiny 340 byte zip file and they look to be identical at the byte level. &amp;nbsp;I'm going to work around this for now and stop binary uploads when the file size with the current live version has not changed, but this is obviously less than ideal and is going to create some (unlikely) edge case issues with the application I'm developing. &amp;nbsp;I'm using the API for c# version 4.2.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if this is a bug, or just that I'm perhaps not using the API correctly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:25:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-Rev-not-working-as-expected-for-binary-files/m-p/208450#M10295</guid>
      <dc:creator>Eeedgar</dc:creator>
      <dc:date>2019-05-29T09:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: FileMetadata.Rev not working as expected for binary files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-Rev-not-working-as-expected-for-binary-files/m-p/208458#M10296</link>
      <description>Eeedgar, this is still not the API forum so wont be seen &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;BR /&gt;&lt;BR /&gt;Dont worry, I'll move it for you &lt;BR /&gt;&lt;BR /&gt;*moves to API forum*&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Feb 2017 13:13:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-Rev-not-working-as-expected-for-binary-files/m-p/208458#M10296</guid>
      <dc:creator>Mark</dc:creator>
      <dc:date>2017-02-25T13:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: FileMetadata.Rev not working as expected for binary files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-Rev-not-working-as-expected-for-binary-files/m-p/208764#M10317</link>
      <description>Thanks for the report. Can you share the code you're using to reproduce this, and the output you're getting? Specifically, the returned metadata for the two versions would be helpful. Thanks in advance!</description>
      <pubDate>Mon, 27 Feb 2017 17:47:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-Rev-not-working-as-expected-for-binary-files/m-p/208764#M10317</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-02-27T17:47:33Z</dc:date>
    </item>
  </channel>
</rss>

