Giter Site home page Giter Site logo

Comments (3)

karladler avatar karladler commented on July 30, 2024

It's possible to handle that in HTML5 File upload API on client side.

from async-busboy.

m4nuC avatar m4nuC commented on July 30, 2024

@bangonkali Apologies for the delay. As @abimelex mentioned this is something to be handled on the client side. If you haven't already solved this, have a look at the API doc: https://developer.mozilla.org/en-US/docs/Using_files_from_web_applications

from async-busboy.

nhtua avatar nhtua commented on July 30, 2024

@m4nuC I think showing the uploading progress is based-on both client and server side. Because xhr.upload.addEventListener("progress", function(e){/**/}) only fire until the server responses any first bytes. So, If you do nothing before asyncBusboy.onFile run, then the client continues to wait to show up 100% only once at the end.

I have tried to pipe some '\n' into server response and the client was starting to fire regularly progress but the output stream format changed also.

from async-busboy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.