Uploading files from Python
AnsweredHi,
I want to upload files from a local PC folder to a specific Box folder using a Python program. Any help or sample code for doing this would be much appreciated.
Thanks
-
Official comment
Hey Suresh,
Not sure if you still need help here, but if so, I'd recommend taking a look at using our Python SDK: https://github.com/box/box-python-sdk.
Here is the specific section on uploading a file: https://github.com/box/box-python-sdk/blob/master/docs/usage/files.md#upload-a-file.
We also have a small Python upload file example on the right hand panel here: https://developer.box.com/reference/post-files-content/.
Hope that helps put you on the right path!
Best,
Kourtney, Box Developer Advocate
Comment actions -
We also have a small Python upload file example on the right hand panel here: https://developer.box.com/reference/post-files-content/.
Hi I tried to follow this link, but I land on an error page. I am also looking to do something similar and would find reference material valuable.
Please sign in to leave a comment.
Comments
2 comments