
Most of the articles, examples and packages I've researched and tested have given some insight into streaming, piping and chunking, but use the filesystem as the starting point from a readable stream. If the chunk succeeds, that chunk from the buffer should be cleared, and the process should continue until complete.īackground Efforts / Research (references below) If the chunk errors, that buffer chunk is retried up to 3 times. The process should pass a chunk from the buffer to be uploaded. Google Drive API requires chunks to be a minimum length of 256 * 1024, (262144 bytes). I want to buffer the file as its being downloaded to memory (not filesystem) and subsequently upload to Google Drive. Download and upload a file to Google Drive purely in-memory using Google Drive APIs Resumable URL.
