python-o365 icon indicating copy to clipboard operation
python-o365 copied to clipboard

Upload filename in sharepoint not honored for large files

Open dickkniep opened this issue 4 years ago • 1 comments

If we do an upload to a sharepoint folder with a small file, everything works as designed. So:

folder.upload_file(filename_from, filename_to)

where filename_from is "/testdocument/flip.pdf" and filename_to is "bogus.pdf". bogus.pdf is found in the folder on sharepoint.

However when we have a file of 50 MB and do the same, we get a file "flip.pdf" instead of bogus.pdf

dickkniep avatar Nov 03 '21 16:11 dickkniep

I don't know what this could be:

As you see here, I pass the filename provided:

https://github.com/O365/python-o365/blob/master/O365/drive.py#L1283

alejcas avatar Nov 15 '21 10:11 alejcas