Wednesday, 12 September 2018

Zipping and serving multiple files

Hi, I'm trying to make an application which will get multiple links for download from another server, zip them up on my server and forward the zip to the client. So I have a few questions:1) how do these online YouTube/video downloaders work? Do they download all files for you and then serve a link for the file? If so, then how do they deal with storage space? Or do they directly stream the files? How does this process work?2) let's say I have a middle server which queries another server for the file links (via Ajax call), then gets the link. Now should i download all these files on my disk, zip then and then send to client? Or is there some way i zip the files on the fly and send a stream (i am not aware of how streams work) to the client?Thanks!

Submitted September 12, 2018 at 08:50AM by friedrice420

No comments:

Post a Comment