cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you an educator? Well we want to hear from you, so check out some tools we think might help you out here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use proxies with Dropbox API ?

How to use proxies with Dropbox API ?

aaa2520
New member | Level 2

 

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)

 

I want to use a proxy, how to do that  ?

Thanks!

1 Reply 1

Re: How to use proxies with Dropbox API ?

Greg-DB
Dropboxer

[Cross-linking for reference: https://stackoverflow.com/questions/41537788/how-to-use-proxies-with-dropbox-api ]

 

You should be able to create a requests session with proxies using dropbox.create_session and pass that to dropbox.Dropbox as the session parameter.

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?