Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
aaa2520
9 years agoNew member | Level 2
How to use proxies with Dropbox API ?
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)
...
Greg-DB
Dropbox Community Moderator
9 years ago[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.
[MODERATOR NOTE: BROKEN LINKS WERE REMOVED]
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!