while unzipping an archive file (having excel in it ) excel file in archive file are extracted along with it an empty folder with the same file name is also created in destination location.
Code I have used is :
public void UnzipFile(string filePath, string strDestination)
{
try
{
if (!string.IsNullOrEmpty(filePath) && !string.IsNullOrEmpty(strDestination))
{
Zip zip = new Zip();
zip.Open(filePath, System.IO.FileMode.Open, System.IO.FileAccess.Read, System.IO.FileShare.ReadWrite);
Log(LoggerLevel.INFO, "file path for unzipping : " + strDestination);
zip.ExtractAll(strDestination);
zip.Close();
}
}