GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — storage: 404 not found after upload · Issue #340 · googleapis/google-cloud-node

storage: 404 not found after upload #340

New issue
Copy link
New issue
Copy link
Closed
Closed
storage: 404 not found after upload#340
Copy link
Assignees
pierre-b
Labels
🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Milestone
Storage Stable

Description

@pierre-b
pierre-b
opened on Jan 3, 2015
Issue body actions

Hi, right after uploading a file I need to get it back and Storage returns a 404:

fs.createReadStream('/local/photo.jpg').pipe(bucket.file('photo.jpg').createWriteStream().on('finish', function(){
  console.log('write finished');

  bucket.file('photo.jpg').createReadStream().pipe(fs.createWriteStream('/downloaded.jpg'));
}));

Is there a better callback to know when a file is fully uploaded to Storage please ?
Thanks

Activity

Next
  1. pierre-b commented on Jan 5, 2015

    @pierre-b
    pierre-b
    on Jan 5, 2015
    Author
    More actions

    Thanks to @ngrilly the event is not "finish" but "complete":

    fs.createReadStream('/local/photo.jpg').pipe(bucket.file('photo.jpg').createWriteStream().on('complete', function(){
      console.log('write finished');
    
      bucket.file('photo.jpg').createReadStream().pipe(fs.createWriteStream('/downloaded.jpg'));
    }));
  2. pierre-b
    closed this as completedon Jan 5, 2015
  3. stephenplusplus commented on Jan 5, 2015

    @stephenplusplus
    stephenplusplus
    on Jan 5, 2015
    Contributor
    More actions

    Glad you got this resolved! Thanks, @ngrilly!

  4. pierre-b commented on Jan 6, 2015

    @pierre-b
    pierre-b
    on Jan 6, 2015
    Author
    More actions

    @stephenplusplus An update of the docs would be nice ;)

  5. jgeewax
    added
    api: storageIssues related to the Cloud Storage API.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Feb 2, 2015
  6. jgeewax
    added this to the Storage Stable milestone on Feb 2, 2015
  7. yoshi-automation
    added
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Apr 6, 2020
  8. JustinBeckwith
    assigned
    pierre-b
    on Feb 1, 2021
  9. sofisl
    added a commit that references this issue on Sep 16, 2022

    build: adopt changes to generator formatting (#340)

    382bebb
  10. sofisl
    added a commit that references this issue on Sep 27, 2022

    chore(deps): update dependency eslint-plugin-node to v11 (#340)

    9cce958
  11. sofisl
    added 3 commits that reference this issue on Oct 5, 2022

    build: adopt changes to generator formatting (#340)

    d64b7ac

    build: adopt changes to generator formatting (#340)

    f3e0044

    build: adopt changes to generator formatting (#340)

    b02902f
  12. 32 remaining items

  13. GautamSharda
    added a commit that references this issue on Feb 3, 2026

    chore: release 1.0.1 (#340)

    88653b5
  14. sofisl
    added a commit that references this issue on Feb 4, 2026

    build: use config file for linkinator (#340)

    bbf2246
  15. GautamSharda
    added a commit that references this issue on Feb 5, 2026

    Release v0.6.3 (#340)

    af072be
  16. GautamSharda
    added a commit that references this issue on Feb 23, 2026

    Release v0.6.3 (#340)

    a3be440
  17. sofisl
    added a commit that references this issue on Feb 25, 2026

    fix(deps): update dependency @google-cloud/common to ^0.23.0 (#340)

    18fde6c
  18. GautamSharda
    added a commit that references this issue on Feb 26, 2026

    Release v0.6.3 (#340)

    fbde2fa
  19. GautamSharda
    added 4 commits that reference this issue on Mar 5, 2026

    feat: release v4.1.1 (#340)

    94aa252

    chore: remove compile protos from post processor (#340)

    a0d25f6

    chore: remove compile protos from post processor (#340)

    8e03a32

    Release v0.29.0 (#340)

    3fc1f65
  20. thiyaguk09
    added a commit that references this issue on Mar 18, 2026

    fix(deps): update dependency @google-cloud/common to ^0.23.0 (googlea…

    f0b9b4d
  21. GautamSharda
    added 2 commits that reference this issue on Mar 23, 2026

    chore: remove old issue template (#340)

    b086839

    chore: remove old issue template (#340)

    d79223c
  22. shivanee-p
    added a commit that references this issue on Mar 27, 2026

    chore: remove old issue template (#340)

    e6a5458
  23. thiyaguk09
    added a commit that references this issue on May 5, 2026

    chore: remove old issue template (googleapis#340)

    44691ea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @pierre-b
    pierre-b

Labels

🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    • Storage Stable

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.