sharepy
sharepy copied to clipboard
How to upload file using sharepy
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
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?
Take a look at this issue https://github.com/JonathanHolvey/sharepy/issues/31