Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to upload file using sharepy #52

Open
arvindzagade opened this issue Apr 26, 2021 · 2 comments
Open

How to upload file using sharepy #52

arvindzagade opened this issue Apr 26, 2021 · 2 comments

Comments

@arvindzagade
Copy link

Hi Jonathan,

I was able to download file using get method but not getting any success in uploading file to sharepoint location. Can you please suggest how to use post method to upload the file

@smitwil04
Copy link

smitwil04 commented Oct 27, 2021

I'm having the same issue. s.getfile(filename) works with the sharepoint connect using credential and site URL. But s.post(site, data=content) does not. I get status 200 but no file is uploaded. I've tried my credentials and also a Service Account. Both have Full control permissions. I can upload in a browser but not via Python. Any ideas for an upload using sharepy?

@JonathanHolvey
Copy link
Owner

Take a look at this issue #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants