zipping files via asp?

B

Beau

Is there a native 'zipping' or compression compoonent in windows accessable
via ASP? Or do you have to buy a compoonent?
 
J

Jason Brown [MSFT]

No, there is nothing native in 'classic' ASP. Third-party it is.


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.
 
R

Ray Costanzo [MVP]

As Jason said, no, there is nothing built in. You can purchase the Winzip
command line add-on (http://www.winzip.com/downcl.htm) for Winzip
(http://www.winzip.com/), "shell out" and execute the commands for the
command line add-on to zip files.

<%
sCommand = "wzzip D:\Inetpub\wwwroot\test\htmlfiles.zip
D:\Inetpub\wwwroot\test\*.htm"
Set oShell = CreateObject("WScript.Shell")
oShell.Run sCommand, , True
Set oShell = Nothing
Response.Write "<a href=""htmlfiles.zip"">Download zip file</a>"
%>

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top