Support uploading in chunks - maybe with ResumableUpload #1076
Closed
Description
Raised in https://stackoverflow.com/questions/45663027. Ignore the test code where it looks like all the data is actually available in one go. The poster wants to write a Web API which receives a chunk at a time, and relays that on to the Drive SDK (although the Storage API would be equivalent).
To support this, we'd need to be able to start the upload (presumably storing some metadata somewhere), then upload multiple chunks, potentially from multiple processes. That's basically what ResumableUpload
does already internally, but it doesn't provide an API amenable to it.
(We could potentially document how to best do it without ResumableUpload
instead.)