I use express manage download files like bellow:
app.use("*", function (req, res, next) {
...
res.download(filepath);
...
});
and I want to create a download process bar, Is there a way to get downloaded bytes?
I use express manage download files like bellow:
app.use("*", function (req, res, next) {
...
res.download(filepath);
...
});
and I want to create a download process bar, Is there a way to get downloaded bytes?