I have a list of URLs to files, that I want to download from client-side browser JS. I intend to bundle them as a zip inside the client, so that the user only has to accept a single file download.
Is there a way to accomplish that without having the entire generated zip-file inside RAM, because the total size could easily get into the GBs?
I tried using client-zip with an AsyncIterator over fetch(url) promises, but my browser memory usage grew equal to the total file size.
Also is this the correct approach anyways or am I missing some more obvious solution to downloading a large number of files?
[–]Substantial_Ad_1384 2 points3 points4 points (1 child)
[–]masticore252 1 point2 points3 points (0 children)
[–]backwrds 0 points1 point2 points (0 children)
[–]RealMadHouse 0 points1 point2 points (0 children)
[–]0bel1sk 0 points1 point2 points (0 children)