Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
johnday
9 months agoNew member | Level 2
upload file to my dropbox from python script
I want to upload a file from my python script to my dropbox account automatically. I can't find anyway to do this with just a user/pass. Everything I see in the Dropbox SDK is related to an app having user interaction. I just want to do something like this:
https://api-content.dropbox.com/1/files_put//?user=me&pass=blah
1 Reply
- DB-Des9 months ago
Dropbox Community Moderator
Hi johnday,
In order to interact securely with the Dropbox API, you will need to create an API app to obtain an app key and app secret. An app key and secret are needed to obtain access tokens, which can then be used for secured communication with the Dropbox API.
To upload files, you will most likely be ok sending a request to the /2/files/upload endpoint. However, if the file size is over 150MiB, you will want to look at the upload session endpoints:
Feel free to review our Developer Documentation for more information, including all other available endpoints.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!