web 2.0

How to use ASP & UnzipFile/Extract Zip file

How to use ASP & UnzipFile/Extract Zip file This is tutorial asp developers how to using ASP and Extract Zip file

ShotDev Focus:
- ASP & Extract Zip file

Example

asp_extract_zip.asp


<%Option Explicit%>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Dim objZip,sResult,sFile
Set objZip = Server.CreateObject("Pnvzip.ZipFunctions")
sResult = objZip.UnzipFile(Server.MapPath("MyXls/MyCustomer.zip"),Server.MapPath("MyXls/MyCustomer/"))
Response.Write "Result code :" & sResult & "<br>"

'*** GUnzipFile(source,destination) for .gz ***'
Set objZip = Nothing
%>
</body>
</html>

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

Run
http://localhost/myasp/asp_extract_zip.asp

Screenshot

ASP & Extract Zip file

ASP & Extract Zip file

ASP & Extract Zip file

.
.
.
Download this script.
Download

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.