when piping something,how to listen events to show progress with a progress-bar #315

Closed
fantasyni opened this Issue Sep 2, 2012 · 4 comments

Comments

Projects
None yet
5 participants

show some examples will be best
thanks

Maybe you can use this module.
https://npmjs.org/package/request-progress

See this issue also. #550

dcolens commented Jun 6, 2014

mikeal#550 is good for downloads. What about uploads (post/put) progress tracking, any suggestion ?

naggie commented Jun 24, 2014

For posting files with multipart post, I did something like this: http://stackoverflow.com/questions/12098713/upload-progress-request
except the attribute was r.req.connection.socket._bytesDispatched

This works fine with node, but not node-webkit. No idea why yet. I think it should be an official API feature rather than an internal based hack.

Member

mmalecki commented Aug 21, 2014

Closing this as it's not a request bug. Feel free to continue the discussion tho.
There's also an issue about making _bytesDispatched public: #941

@mmalecki mmalecki closed this Aug 21, 2014

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