Skip to content

Storage write streams should be able to use a pre-existing uri #1321

Description

@bhstahl

Allow users to pass through an already existing uri when creating a write stream.

// create resumable url
file.createResumableUpload((err, uri) =>  {
    // hang on to uri somehow
});

// create a new stream with the same uri
const config = { uri };
bucket.file('zebra.jpg').createWriteStream(config);

PR with the enhancement coming shortly!

Activity

  1. added a commit that references this issue on May 16, 2016
    4eaa832
  2. stephenplusplus commented on May 18, 2016

    @stephenplusplus
    Contributor

    Fixed in 3d6fa8a.

  3. added a commit that references this issue on Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: storageIssues related to the Cloud Storage API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions