You will not be able to do this with pure ASP. Installing Winzip and
command line support is not an option either?
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 work
"Keith" <@.> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Is there any way of using ASP to zip up a set of files on the remote
server and either store the resulting zip on the server and/or present it to the
user for download?
The thing that is going to cause problems - I can't install components on
the web server so need a solution that is pure code!
Thanks