How can I use ionic zip or dotnet zip library in Classic ASP to extract zip file? I am very new in classic asp. So could you please elaborate step wise step. How could it will working in server as well.
Asked
Active
Viewed 833 times
0
-
Hi, welcome to stack overflow. Please refer the [ask] link for more details on how to ask a question and update your question accordingly. – Jeroen Heier Jan 12 '20 at 08:36
1 Answers
0
Step 1: Install into the GAC: gacutil -i Ionic.Zip.dll
Step 2: Register for COM use: regasm Ionic.Zip.dll
step 3: make instance of com object in your classic asp code dim zip set zip = CreateObject("Ionic.Zip.ZipFile")
step 4: now use this zip object to complete your task

divyang4481
- 1,584
- 16
- 32
-
-
follow about three steps in your server 1. install dll in gac, 2 register that dll as com 3) write code in asp just and run that in IIS as classic asp – divyang4481 Jan 13 '20 at 17:32
-
It says a message "gacutil" is not recognised as an internal or external command. – Bunty Choudhary Jan 14 '20 at 16:50
-
for gacutil you can get more info here https://learn.microsoft.com/en-us/dotnet/framework/app-domains/install-assembly-into-gac – divyang4481 Jan 14 '20 at 18:18