V
V
Vadim Aliev2022-01-05 03:19:00
AJAX
Vadim Aliev, 2022-01-05 03:19:00

How to track the download of multiple files in XHR?

Good day! There was a question about uploading files to the server. How can ONE XHR object track the upload of, say, 20 files to the server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Shvedov, 2022-01-05
@Redfern89

https://learn.javascript.ru/xhr-onprogress
Either send a single request and track the progress of all at once, or send a separate request for each file and track the progress for each separately

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question