You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed zipping a GCP directory fails if the directory contains multiple files smaller than 10MB. When I manually set the
resumable option to false in the uploadOptions constant, zipping works.
Thanks. I don't understand how the upload transport could affect the zipping. These are two different procedures that take place
in two different parts of the code.
It is possible that resumable upload has a minimum upload size.
When I get some time I'll look.
I left some additional remarks on the pull request.
I've noticed zipping a GCP directory fails if the directory contains multiple files smaller than 10MB. When I manually set the
resumable option to false in the uploadOptions constant, zipping works.
An example below:
const uploadOptions = {resumable: false, destination: toPath, validation: 'md5', metadata: {contentType: 'application/zip'}};
SOURCES
https://googleapis.dev/nodejs/storage/latest/File.html#createWriteStream
https://googleapis.dev/nodejs/storage/latest/global.html#CreateWriteStreamOptions
The text was updated successfully, but these errors were encountered: