Subject: Unpack nested zip from memory stream into another memory stream Date: 2017-10-02 12:51:49 From: D R Source: unpack-nested-zip-memory-stream-another-memory-stream ----------------------------------------------------------------------Hi!
We try to uncompress a zip file from a streaming source like so:
[code lang='c#']public void Unzip (Stream stream)
{
var zip = new ComponentPro.Compression.Zip();zip.Open(stream, false);// list all filesforeach (var entry in zip.ListAll()){// if entry ends in zipif (entry.Name.EndsWith(".zip"))Unzip(entry.OpenRead(FileShare.Read));}zip.Close();}[/code]However, reading the nested zip file using OpenRead() does not work (results in ComponentPro.IO.FileSystemNotSupportedException : The 'OpenRead' operation is not supported.) How to read a nested zip file from a stream?We are currently evaluating your library and are thinking about buying it. This evaluation is timeboxed, so a quick answer would really help me to decide if we are going to buy your library or a library from another vendor.Best regards,D.R.---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index