In my project i use the sharepoint to store zip files and then extract and store the files in the zip in a folder (same name as zip) both(.zip and the folder) at the same location in sharepoint. It worked fine for me except for some cases where the file is not getting extracted completly ie. if we have 5 files in the zip 3 gets extracted and so on. I get an error quoted below:
"Title:Cannot find central directory Url: ICSharpCode.SharpZipLib.Zip.ZipException: Cannot find central directory at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries() at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor(String name) at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(String zipFileName, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime) at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(String zipFileName, String targetDirectory, String fileFilter)".
Can you please have a look into this.
Hoping for your speedy reply
Thanks and regards
Sooraj