<?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 How to use proxies with Dropbox API ? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-proxies-with-Dropbox-API/m-p/201103#M9472</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;dbx = dropbox.dropbox.Dropbox('***************')
f = open("/home/net/a.py", 'rb')
data = f.read()
try:
    res = dbx.files_upload(data, "/a.py", dropbox.files.WriteMode.overwrite, mute=True)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to use a&amp;nbsp;proxy, how to do that &amp;nbsp;?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:26:59 GMT</pubDate>
    <dc:creator>aaa2520</dc:creator>
    <dc:date>2019-05-29T09:26:59Z</dc:date>
    <item>
      <title>How to use proxies with Dropbox API ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-proxies-with-Dropbox-API/m-p/201103#M9472</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;dbx = dropbox.dropbox.Dropbox('***************')
f = open("/home/net/a.py", 'rb')
data = f.read()
try:
    res = dbx.files_upload(data, "/a.py", dropbox.files.WriteMode.overwrite, mute=True)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to use a&amp;nbsp;proxy, how to do that &amp;nbsp;?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:26:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-proxies-with-Dropbox-API/m-p/201103#M9472</guid>
      <dc:creator>aaa2520</dc:creator>
      <dc:date>2019-05-29T09:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use proxies with Dropbox API ?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-proxies-with-Dropbox-API/m-p/201267#M9479</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/41537788/how-to-use-proxies-with-dropbox-api" target="_blank"&gt;https://stackoverflow.com/questions/41537788/how-to-use-proxies-with-dropbox-api&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to create a requests session with proxies using &lt;A href="https://www.dropboxforum.com/t5/forums/replypage/board-id/101000014/message-id/dropbox.dropbox.create_session" target="_self"&gt;dropbox.create_session&lt;/A&gt;&amp;nbsp;and pass that to &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/master/moduledoc.html#dropbox.dropbox.Dropbox" target="_self"&gt;dropbox.Dropbox&lt;/A&gt;&amp;nbsp;as the session parameter.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 18:18:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-proxies-with-Dropbox-API/m-p/201267#M9479</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-09T18:18:05Z</dc:date>
    </item>
  </channel>
</rss>

