Link to home
Start Free TrialLog in
Avatar of smacca
smaccaFlag for Australia

asked on

How can I unzip a zip file on the server programatically?

I have a zip file that I am uploading to server.
It contains a host of Windows Media Audio Files.

I need to unzip this file programatically.
Is this possible?
If so, can you provide a soution.

Cheers.
Avatar of God_Ares
God_Ares

this requires a program/service that is looking at a dir (filesystemwatcher) and if a new .zip file has been uploaded unzip it.



filesystem stuff

http://www.codeproject.com/csharp/fswatcher.asp

zip stuff

http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx


regards

Floris
plz provide more infromation, eg, where are the files being unziped to?,... what is going to happenb with the original zip file etc.
Upload the file and then use SharpZipLib to unzip.  I use this library everytime I need file zipping.  You can find it at www.icsharpcode.net.  If you need any extra help with this just ask.
Avatar of smacca

ASKER

I have downloaded SharpZipLib but cannot determine how to unzip from the API docs.
Can you provide any code examples of the unzip process?
ASKER CERTIFIED SOLUTION
Avatar of thedude112286
thedude112286

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial