c# - "Cannot find central directory" error appears when extracting 7z file using SharpZipLib -


there no problem .zip file 7z.

 filestream fs = file.openread(archivefilenamein);             zf = new zipfile(fs); // encountered error 

the zipfile class handles .zip files, not .7z files.

in fact, sharpziplib not support .7z files @ all.

a "central directory" list of files present in zip-file , they're located, used speedily extract 1 file or file listing without reading whole file.


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -