Implement a method to One Drive if the final file size is not known ahead of time for uploading large files.
Our application will frequently have the need to upload a stream of bytes for a file to One Drive, and we won't know the size of the file ahead of time. I am aware of the documentation for One Drive here that clearly indicates it is not possible, but I am really hoping if there's a way to work around this.
Or is there any work being done to enhance the REST API so we can do this? Google Drive uses a very similar method for uploading large files, but supports unknown file sizes by doing this with the Content-Range header during chunk transfer 0-127/* and then on the final chunk we can specify the known size 128-255/256.
I'm just really surprised this is not supported.