<?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: Compute content_hash of local folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Compute-content-hash-of-local-folder/m-p/578600#M27008</link>
    <description>&lt;P&gt;Dropbox doesn't offer a 'content_hash' or equivalent for entire folders, only files, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to verify an entire folder, you'd need to check each individual file in the folder you're interested in verifying.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 16:27:55 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-02-17T16:27:55Z</dc:date>
    <item>
      <title>Compute content_hash of local folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Compute-content-hash-of-local-folder/m-p/578474#M27004</link>
      <description>&lt;P&gt;Hi, I've implemented content hashing for local &lt;STRONG&gt;files&lt;/STRONG&gt; using the instructions found here &lt;A href="https://www.dropbox.com/developers/reference/content-hash" target="_blank" rel="noopener"&gt;dropbox content-hash page&lt;/A&gt;&amp;nbsp; - very helpful article!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next I'd like to implement content hashing for &lt;STRONG&gt;folders&lt;/STRONG&gt; locally. So I can then compare to a remove Dropbox folder's content_hash (and download or not download a folder accordingly).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the best way to generate a content_hash for a folder locally?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Hash individual files (in the folder) one at a time and then hash the concatenated SHA-256 strings? If so, what would be the order of the files to hash sequentially?&lt;/LI&gt;
&lt;LI&gt;Can the folder be hashed (rather than each file)? This would be far more efficient!&lt;/LI&gt;
&lt;LI&gt;Can detailed instructions please be provided?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;BR /&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 00:42:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Compute-content-hash-of-local-folder/m-p/578474#M27004</guid>
      <dc:creator>PeterG-TDA</dc:creator>
      <dc:date>2022-02-17T00:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Compute content_hash of local folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Compute-content-hash-of-local-folder/m-p/578600#M27008</link>
      <description>&lt;P&gt;Dropbox doesn't offer a 'content_hash' or equivalent for entire folders, only files, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to verify an entire folder, you'd need to check each individual file in the folder you're interested in verifying.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 16:27:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Compute-content-hash-of-local-folder/m-p/578600#M27008</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-02-17T16:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Compute content_hash of local folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Compute-content-hash-of-local-folder/m-p/578935#M27024</link>
      <description>&lt;P&gt;Thanks for letting me know Greg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 03:17:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Compute-content-hash-of-local-folder/m-p/578935#M27024</guid>
      <dc:creator>PeterG-TDA</dc:creator>
      <dc:date>2022-02-19T03:17:28Z</dc:date>
    </item>
  </channel>
</rss>

