Skip to content

Kindly add support for disabling resumable uploads in the uploadOptions #42

@imuchene

Description

@imuchene

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions