//using Ionic.Zip;
//take one file upload control and click event write
if (FileUpload1.HasFile)
{
String TargetDirectory = FileUpload1.PostedFile.FileName;
using (Ionic.Zip.ZipFile zip1 = Ionic.Zip.ZipFile.Read(TargetDirectory))
{
zip1.ExtractAll(Server.MapPath("UploadFile")
, Ionic.Zip.ExtractExistingFileAction.OverwriteSilently);
}
}
Subscribe to:
Post Comments (Atom)
Can i get the whole coding.......
ReplyDeleteYou can ask wht u are facing problem. dude.................this is whole coding
Delete