Community & Support
Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > Upload > How to upload multiple files using RadUpload (uploading .zip file and extract it on the server)

Not answered How to upload multiple files using RadUpload (uploading .zip file and extract it on the server)

Feed from this thread
  • Posted on Jun 16, 2008 (permalink)

    Requirements

    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
Attached files

Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > Upload > How to upload multiple files using RadUpload (uploading .zip file and extract it on the server)