web 2.0

How to use ASP & Zip Multiple file

How to use ASP & Zip Multiple file This is tutorial asp developers how to using ASP and Zip Multiple file

ShotDev Focus:
- ASP & Zip Multiple file



<%Option Explicit%>
<title>ShotDev.Com Tutorial</title>
Dim objZip,sResult,sFile
Set objZip = Server.CreateObject("Pnvzip.ZipFunctions")
sFile = Server.MapPath("MyXls/MyCustomer.xls")&";"&Server.MapPath("MyXls/MyCustomer2.xls")
sResult = objZip.ZipFile(sFile,Server.MapPath("MyXls/MyCustomer.zip"))
Response.Write "Result code :" & sResult & "<br>"
'*** GZipFile(In,Out) for .gz ***'
Response.Write "<a href=MyXls/MyCustomer.zip>Click here</a> Download Zip Files "
Set objZip = Nothing


Create a asp file and save to path root-path/myasp/



ASP & Zip Multiple file

ASP & Zip Multiple file

ASP & Zip Multiple file

Download this script.

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.