I am trying to unzip a .zip file from source to destination.
It is taking the default source as:
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
The source is actually in my project.
Code:
FastZip fz = new FastZip();
fz.ExtractZip("Emp2.zip", Server.MapPath("~/Response Attachments/"), "");
From stackoverflow
-
typically, we use command-line tool to do the individual job, you can run a script:
unzip XXX.zip -d C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.