<?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: password protected zip fil is not uploaded using files_upload method (Python) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132264#M3901</link>
    <description>&lt;P&gt;I actually removed a line from my code that resolved this issue. Thanks for pushing me to look harder &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; the issue has something to do with a function I was using to check whether a file is encrypted or not and trying to upload without testing the file first seems to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2015 06:18:12 GMT</pubDate>
    <dc:creator>Zarina B.</dc:creator>
    <dc:date>2015-12-01T06:18:12Z</dc:date>
    <item>
      <title>password protected zip fil is not uploaded using files_upload method (Python)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132260#M3897</link>
      <description>&lt;P&gt;I am trying to upload a zip file using the files_upload method. When I use a regular zip file (not password protected) it works. However, when I use a password-protected zip file the process takes a long time and eventually output the following error:&lt;/P&gt;
&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "/Users/shifloni/Desktop/walk.py", line 17, in &amp;lt;module&amp;gt;&lt;BR /&gt; dp.files_upload(enc, '/encrypted/test.zip')&lt;BR /&gt; File "/Users/shifloni/dev/law_venv/lib/python2.7/site-packages/dropbox/base.py", line 377, in files_upload&lt;BR /&gt; f)&lt;BR /&gt; File "/Users/shifloni/dev/law_venv/lib/python2.7/site-packages/dropbox/dropbox.py", line 175, in request&lt;BR /&gt; request_binary)&lt;BR /&gt; File "/Users/shifloni/dev/law_venv/lib/python2.7/site-packages/dropbox/dropbox.py", line 256, in request_json_string_with_retry&lt;BR /&gt; request_binary)&lt;BR /&gt; File "/Users/shifloni/dev/law_venv/lib/python2.7/site-packages/dropbox/dropbox.py", line 316, in request_json_string&lt;BR /&gt; verify=True,&lt;BR /&gt; File "/Users/shifloni/dev/law_venv/lib/python2.7/site-packages/requests/sessions.py", line 504, in post&lt;BR /&gt; return self.request('POST', url, data=data, json=json, **kwargs)&lt;BR /&gt; File "/Users/shifloni/dev/law_venv/lib/python2.7/site-packages/requests/sessions.py", line 461, in request&lt;BR /&gt; resp = self.send(prep, **send_kwargs)&lt;BR /&gt; File "/Users/shifloni/dev/law_venv/lib/python2.7/site-packages/requests/sessions.py", line 573, in send&lt;BR /&gt; r = adapter.send(request, **kwargs)&lt;BR /&gt; File "/Users/shifloni/dev/law_venv/lib/python2.7/site-packages/requests/adapters.py", line 415, in send&lt;BR /&gt; raise ConnectionError(err, request=request)&lt;BR /&gt;requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))&lt;BR /&gt;&lt;BR /&gt;Has anyone encountered that type of error when uploading password protected zip files using the API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:37:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132260#M3897</guid>
      <dc:creator>Zarina B.</dc:creator>
      <dc:date>2019-05-29T09:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: password protected zip fil is not uploaded using files_upload method (Python)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132261#M3898</link>
      <description>&lt;P&gt;The API doesn't pay attention to&amp;nbsp;whether or not a zip file is password protected while uploading it (nor does the file type itself even really matter). It just uploads the raw data as it receives it.&lt;/P&gt;
&lt;P&gt;How big is each file though? Is this repeatedly reproducible?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 04:55:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132261#M3898</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-12-01T04:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: password protected zip fil is not uploaded using files_upload method (Python)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132262#M3899</link>
      <description>&lt;P&gt;The file I am able to upload (without a password) is 1.2 MB.&lt;/P&gt;
&lt;P&gt;The file I am unable to upload with the password is 186 KB.&lt;/P&gt;
&lt;P&gt;The error is repeatedly reproducible. Thanks for your response&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 05:49:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132262#M3899</guid>
      <dc:creator>Zarina B.</dc:creator>
      <dc:date>2015-12-01T05:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: password protected zip fil is not uploaded using files_upload method (Python)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132263#M3900</link>
      <description>&lt;P&gt;Thanks! Those files are small so size shouldn't be an issue here. It is unexpected that the upload takes a long time though. Might there be anything on your network connection (e.g., firewall or security software) that may be interfering for some reason?&lt;/P&gt;
&lt;P&gt;In any case, can you share the sample code and files so we can try to reproduce it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Feel free to open a ticket if you'd prefer to share privately:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/contact" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/contact&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 05:54:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132263#M3900</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-12-01T05:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: password protected zip fil is not uploaded using files_upload method (Python)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132264#M3901</link>
      <description>&lt;P&gt;I actually removed a line from my code that resolved this issue. Thanks for pushing me to look harder &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; the issue has something to do with a function I was using to check whether a file is encrypted or not and trying to upload without testing the file first seems to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 06:18:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/password-protected-zip-fil-is-not-uploaded-using-files-upload/m-p/132264#M3901</guid>
      <dc:creator>Zarina B.</dc:creator>
      <dc:date>2015-12-01T06:18:12Z</dc:date>
    </item>
  </channel>
</rss>

