RadControls version |
RadUpload for ASP.NET AJAX
|
.NET version |
2.0
|
Visual Studio version |
2005
|
programming language |
C#
|
browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
This project illustrates how you can upload .zip file and extract its content on the server.
This project uses DotNetZip library to manipulate .zip files.
Steps to achieve the approach:
1.Upload .zip file using RadUpload
2.Extract all files from the .zip using the following code
using (ZipFile zip = ZipFile.Read(targetFileName))
{
foreach (ZipEntry e in zip)
{
e.Extract(targetFolder, true); // overwrite == true
}
}
3.Delete the .zip