<?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 Problem with file integrity when uploaded in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-file-integrity-when-uploaded/m-p/354476#M20248</link>
    <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;I am getting an issue with the files uploaded via the API.&lt;/P&gt;
&lt;P&gt;the Dropbox hash differ from the original and uploaded.&lt;/P&gt;
&lt;PRE&gt;(venv34) Kapss-MacBook-Pro:python bramburn$ python hash_file.py /Users/bramburn/Desktop/Toc1012.fls
d2d3e87285f85ffaa8ddf0870a46bb2e580a293e32ba20a155317654479dfb2c
(venv34) Kapss-MacBook-Pro:python bramburn$ python hash_file.py /Users/bramburn/Downloads/Toc1012.fls
85b64345dbb99010eeb4e7a61bc61a99c45c595a0ba594b090b9ebad5daf8c0d
(venv34) Kapss-MacBook-Pro:python bramburn$ &lt;/PRE&gt;
&lt;P&gt;The file in &lt;STRONG&gt;/Downloads/&lt;/STRONG&gt; is the web downloaded toc1012.fls file, the file in the &lt;STRONG&gt;/Desktop/&lt;/STRONG&gt; is the original.&lt;/P&gt;
&lt;P&gt;The file is different.&lt;/P&gt;
&lt;P&gt;I also tried a shasum as follows with two different file and I am getting an issue with the file:&lt;/P&gt;
&lt;PRE&gt;Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Downloads/Toc1008.fls 
f44df7db8f9321145a7b091fd0d25b107521d998  /Users/bramburn/Downloads/Toc1008.fls
Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Downloads/Toc1008.fls 
f44df7db8f9321145a7b091fd0d25b107521d998  /Users/bramburn/Downloads/Toc1008.fls
Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Desktop/Toc1008.fls 
ba728834eeecd6eb3dfaa5508e43815c15c07f45  /Users/bramburn/Desktop/Toc1008.fls
Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Downloads/Toc1012.fls 
4a1b522c8f5e31ed7e1d69feec5f273775b32609  /Users/bramburn/Downloads/Toc1012.fls
Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Downloads/Toc1012.fls 
4a1b522c8f5e31ed7e1d69feec5f273775b32609  /Users/bramburn/Downloads/Toc1012.fls
Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Desktop/Toc1012.fls 
5d8c75382de48bdbd25c78d20a923e869049a8a8  /Users/bramburn/Desktop/Toc1012.fls
Kapss-MacBook-Pro:~ bramburn$ &lt;/PRE&gt;
&lt;P&gt;Anyone know how to resolve this when uploading files? or making sure it is the same?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 15:16:40 GMT</pubDate>
    <dc:creator>bramburn</dc:creator>
    <dc:date>2019-07-11T15:16:40Z</dc:date>
    <item>
      <title>Problem with file integrity when uploaded</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-file-integrity-when-uploaded/m-p/354476#M20248</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;I am getting an issue with the files uploaded via the API.&lt;/P&gt;
&lt;P&gt;the Dropbox hash differ from the original and uploaded.&lt;/P&gt;
&lt;PRE&gt;(venv34) Kapss-MacBook-Pro:python bramburn$ python hash_file.py /Users/bramburn/Desktop/Toc1012.fls
d2d3e87285f85ffaa8ddf0870a46bb2e580a293e32ba20a155317654479dfb2c
(venv34) Kapss-MacBook-Pro:python bramburn$ python hash_file.py /Users/bramburn/Downloads/Toc1012.fls
85b64345dbb99010eeb4e7a61bc61a99c45c595a0ba594b090b9ebad5daf8c0d
(venv34) Kapss-MacBook-Pro:python bramburn$ &lt;/PRE&gt;
&lt;P&gt;The file in &lt;STRONG&gt;/Downloads/&lt;/STRONG&gt; is the web downloaded toc1012.fls file, the file in the &lt;STRONG&gt;/Desktop/&lt;/STRONG&gt; is the original.&lt;/P&gt;
&lt;P&gt;The file is different.&lt;/P&gt;
&lt;P&gt;I also tried a shasum as follows with two different file and I am getting an issue with the file:&lt;/P&gt;
&lt;PRE&gt;Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Downloads/Toc1008.fls 
f44df7db8f9321145a7b091fd0d25b107521d998  /Users/bramburn/Downloads/Toc1008.fls
Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Downloads/Toc1008.fls 
f44df7db8f9321145a7b091fd0d25b107521d998  /Users/bramburn/Downloads/Toc1008.fls
Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Desktop/Toc1008.fls 
ba728834eeecd6eb3dfaa5508e43815c15c07f45  /Users/bramburn/Desktop/Toc1008.fls
Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Downloads/Toc1012.fls 
4a1b522c8f5e31ed7e1d69feec5f273775b32609  /Users/bramburn/Downloads/Toc1012.fls
Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Downloads/Toc1012.fls 
4a1b522c8f5e31ed7e1d69feec5f273775b32609  /Users/bramburn/Downloads/Toc1012.fls
Kapss-MacBook-Pro:~ bramburn$ shasum /Users/bramburn/Desktop/Toc1012.fls 
5d8c75382de48bdbd25c78d20a923e869049a8a8  /Users/bramburn/Desktop/Toc1012.fls
Kapss-MacBook-Pro:~ bramburn$ &lt;/PRE&gt;
&lt;P&gt;Anyone know how to resolve this when uploading files? or making sure it is the same?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 15:16:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-file-integrity-when-uploaded/m-p/354476#M20248</guid>
      <dc:creator>bramburn</dc:creator>
      <dc:date>2019-07-11T15:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with file integrity when uploaded</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-file-integrity-when-uploaded/m-p/354613#M20255</link>
      <description>&lt;P&gt;Apologies for the delay! It looks like your post got caught in the forum's spam filter for some reason. It was just restored.&lt;/P&gt;
&lt;P&gt;Anyway, can you share the code you're using to upload the files in this case? It sounds like something may be going wrong during the upload resulting in the incorrect data getting committed.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 15:36:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-file-integrity-when-uploaded/m-p/354613#M20255</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-07-11T15:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with file integrity when uploaded</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-file-integrity-when-uploaded/m-p/355177#M20284</link>
      <description>&lt;P&gt;hi Greg, i was able to resolve this. For some reason the f.tell() was off for the offset.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 09:30:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-file-integrity-when-uploaded/m-p/355177#M20284</guid>
      <dc:creator>bramburn</dc:creator>
      <dc:date>2019-07-15T09:30:55Z</dc:date>
    </item>
  </channel>
</rss>

