Last active
November 22, 2019 07:33
-
-
Save trevorfoskett/a86d65b9ab6901ca17a98f24a051740c to your computer and use it in GitHub Desktop.
Set the download location for the stream data to /tmp.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
var dest = fs.createWriteStream(`/tmp/${uFileName}`); // download encrypted content to /tmp | |
drive.files.get({ | |
fileId: fileId, | |
alt: 'media' | |
}, { | |
responseType: 'stream' | |
}... | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment