4 ms·
Tar is not streamable when compressed with gzip. 4Q supports compression on a per-file basis and thus can support streaming and compression at the same time. Zi
by FooBarWidget 12y ago
Tar is not streamable when compressed with gzip. 4Q supports compression on a per-file basis and thus can support streaming and compression at the same time. Zip also supports compression on a per-file basis, but it requires an index and thus is not streamable.
- falcolas 12y agoFunny, I've done plenty of gzip compressed tar streams: nc -l 7000 | tar -xf - tar -czf - * | nc 1.2.3.4 7000 Files appear one by one on the remote end.
- deleted 12y ago[deleted]
- johnmaguire2013 12y agoYou can stream zips if you don't use compression, and you can use compression on files small enough to hold in memory. I work at Barracuda Networks, and we actually do this every day.[1] [1] https://github.com/barracudanetworks/ArchiveStream-php https://github.com/barracudanetworks/ArchiveStream-php