Closed iamacarpet closed 4 years ago
Sadly that still hasn't addressed the problem. I have rolled it into alpha 36061 for testing / evaluation. #54 lives on :(
When I looked into this months ago, it was pretty much impossible to have a proper file-system driver using the current Chrome APIs to implement one and how the Microsoft APIs work (mainly because you need to know the full file-size upfront for OneDrive's API, so we buffer to a tempfile, but then it seems to take forever at 99.9% when we actually upload it).
From my perspective, unless we find a better way, this will have to be a wontfix from me, sorry.
Doesn’t getMetadata provide size?
As promised, here is the working uploads using the simpleUpload method, supporting files up to 4MB.
Needs some improvement to properly throw an error if the file is too big, or if the call to the Graph API fails.