<?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: Malformed file when uploading excel file with python sdk in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Malformed-file-when-uploading-excel-file-with-python-sdk/m-p/309224#M18513</link>
    <description>&lt;P&gt;Having the same issue, using the same code OP uses and I tried open(xls,'rb') but it's still coming out as corrupted. Any ideas how to sort it?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Nov 2018 21:51:09 GMT</pubDate>
    <dc:creator>LiamGM</dc:creator>
    <dc:date>2018-11-09T21:51:09Z</dc:date>
    <item>
      <title>Malformed file when uploading excel file with python sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Malformed-file-when-uploading-excel-file-with-python-sdk/m-p/249172#M14308</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I get a malformed file when I try upload&amp;nbsp;a simple excel file with python sdk&lt;/P&gt;&lt;P&gt;my code looks like:&lt;/P&gt;&lt;PRE&gt;xls = 'Path\\xxxxx.xlsx'		
	try:
		with open(xls, 'r') as upxls:
			dbx.files_upload(upxlsx.read(),'/test.xlsx', mode=dropbox.files.WriteMode("overwrite"))
     except Exception as e:
	    print e	&lt;/PRE&gt;&lt;P&gt;Is there a&amp;nbsp;bug in my code or the dropbox python module?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:17:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Malformed-file-when-uploading-excel-file-with-python-sdk/m-p/249172#M14308</guid>
      <dc:creator>Flya</dc:creator>
      <dc:date>2019-05-29T09:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Malformed file when uploading excel file with python sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Malformed-file-when-uploading-excel-file-with-python-sdk/m-p/249303#M14316</link>
      <description>You probably need to use open(xls, 'rb') instead of open(xls, 'r'). (Note the 'b' in the mode.) Try that out and let me know if it doesn't help.</description>
      <pubDate>Wed, 25 Oct 2017 14:48:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Malformed-file-when-uploading-excel-file-with-python-sdk/m-p/249303#M14316</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-25T14:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Malformed file when uploading excel file with python sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Malformed-file-when-uploading-excel-file-with-python-sdk/m-p/309224#M18513</link>
      <description>&lt;P&gt;Having the same issue, using the same code OP uses and I tried open(xls,'rb') but it's still coming out as corrupted. Any ideas how to sort it?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 21:51:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Malformed-file-when-uploading-excel-file-with-python-sdk/m-p/309224#M18513</guid>
      <dc:creator>LiamGM</dc:creator>
      <dc:date>2018-11-09T21:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Malformed file when uploading excel file with python sdk</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Malformed-file-when-uploading-excel-file-with-python-sdk/m-p/309666#M18515</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/822448"&gt;@LiamGM&lt;/a&gt;&amp;nbsp;Please &lt;A href="https://www.dropboxforum.com/t5/forums/postpage/board-id/101000014" target="_blank"&gt;open a new thread&lt;/A&gt; with more details on the issue you're seeing so we can take a look.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 15:30:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Malformed-file-when-uploading-excel-file-with-python-sdk/m-p/309666#M18515</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-11-12T15:30:07Z</dc:date>
    </item>
  </channel>
</rss>

