Extracting ZIP file from InputStream

Help
Mireia
2013-12-19
2014-05-13
  • Mireia

    Mireia - 2013-12-19

    Hi, I tried to extract a zip File from an InputStream, trying to use the code I found here. But I get an error message. Has somebody experience with the code of Goober5000 from 2.3.10 ?

    I implemented:

    public class CreateInputStreamSource implements InputStreamSource

    with:

    @Override
    public InputStream recycleInputStream(InputStream oldInputStream) throws IOException{

    but I got the errormessage:

    net.sf.sevenzipjbinding.SevenZipException: HRESULT: 0x1 (FALSE). Archive file (format: Zip) can't be opened

    My code works, when I read the zipfile from a RandomAccessFileInStream, so the archive should be ok. Thanks in advance

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks