G Green May 5, 2005 #1 Hi, I am using Asp.Net, I want to upload a zip file, and unzip it. Any idea to complish? Thanks alot!
Hi, I am using Asp.Net, I want to upload a zip file, and unzip it. Any idea to complish? Thanks alot!
M Matt Berther May 5, 2005 #2 Hello Green, Use the HtmlFileUpload control and then also the ICSharpCode.ZipLib [1] for unzipping functionality... [1] http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx
Hello Green, Use the HtmlFileUpload control and then also the ICSharpCode.ZipLib [1] for unzipping functionality... [1] http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx
G Green May 5, 2005 #3 I Know I can invoke command line exe, and winzip32.exe can help me do it. But it has a very serious security hole. TIA
I Know I can invoke command line exe, and winzip32.exe can help me do it. But it has a very serious security hole. TIA
S Steve C. Orr [MVP, MCSD] May 5, 2005 #4 You should be able to use this code: http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx Or you could consider calling a command line utility like this: http://www.i386.info/software/zip23xn.zip Or you could consider a 3rd party component such as this: http://www.xceedzip.com/ But if I was you I'd first try using the J# zip classes: http://msdn.microsoft.com/msdnmag/issues/03/06/ZipCompression/default.aspx
You should be able to use this code: http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx Or you could consider calling a command line utility like this: http://www.i386.info/software/zip23xn.zip Or you could consider a 3rd party component such as this: http://www.xceedzip.com/ But if I was you I'd first try using the J# zip classes: http://msdn.microsoft.com/msdnmag/issues/03/06/ZipCompression/default.aspx