I'm downloading around 5 videos simultaneously (with wget
on linux through php exec) and am wanting to start archiving (make one file) of them all as they download.
At the moment when I try:
zip archive.zip file1 file2 file3
The archive.zip
contains the files exactly as they were when the archiving commenced.
Is there a way this can be done or do I have to wait until all the files have fully finished downloading before they can be archived?
No compression is needed.
The reason I'm wanting to do this is so that the end user / client can begin downloading their archive.zip
almost instantaneously opposed to waiting 20 seconds.