You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to build tarballs from streams on my server (coming from HTTP requests or processes).
Do you think it would be possible to have a function that takes a stream as an argument instead of a filename, so I could do something like this:
$zip->add_stream(popen('echo foo'));
The text was updated successfully, but these errors were encountered:
Edit: I doubt you'll be able to do this if you don't know the stream size in advance, though. In that case you should propbably revert to compression formats that have better support for this, like gzip.
Hello,
I need to build tarballs from streams on my server (coming from HTTP requests or processes).
Do you think it would be possible to have a function that takes a stream as an argument instead of a filename, so I could do something like this:
The text was updated successfully, but these errors were encountered: