A
A
Alexey2015-04-27 11:19:33
symfony
Alexey, 2015-04-27 11:19:33

How to give multiple files for download?

I am exporting reports. It is necessary to make sure that the user selects the reports that need to be exported (already implemented) with checkboxes and they are downloaded to his PC. All. You don't need to store them locally on the server.
Everything is implemented except for the file upload itself. There is an associative array with data for export.
Somewhere I heard that you can download 5 files at the same time. Maybe put them in an archive? Have a bundle?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Entelis, 2015-04-27
@Assada

Cross-browser and without unnecessary requests from the user - no way.
It is best to wrap on the server in an archive (zip for example) and give it as an archive.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question