rooey / chromeos-filesystem-onedrive

This project provides a OneDrive FileSystem mount for ChromeOS
http://onedrivefs.justmichael.uk/
BSD 3-Clause "New" or "Revised" License
36 stars 23 forks source link

Upload fix via simpleUpload - known issue, limit 4MB #54

Closed iamacarpet closed 4 years ago

iamacarpet commented 4 years ago

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.

rooey commented 4 years ago

Sadly that still hasn't addressed the problem. I have rolled it into alpha 36061 for testing / evaluation. #54 lives on :(

iamacarpet commented 4 years ago

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.

droz36 commented 4 years ago

Doesn’t getMetadata provide size?