IIS ASP - zipping files via asp?

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > December 2004 > zipping files via asp?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author zipping files via asp?
Beau

2004-12-23, 8:54 pm

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


Jason Brown [MSFT]

2004-12-23, 8:54 pm

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.
"Beau" <beau_damore@hotmail.com> wrote in message
news:u8Q4ebV6EHA.2624@TK2MSFTNGP11.phx.gbl...
> Is there a native 'zipping' or compression compoonent in windows
> accessable
> via ASP? Or do you have to buy a compoonent?
>
>



Ray Costanzo [MVP]

2004-12-24, 3:02 am

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

"Beau" <beau_damore@hotmail.com> wrote in message
news:u8Q4ebV6EHA.2624@TK2MSFTNGP11.phx.gbl...
> Is there a native 'zipping' or compression compoonent in windows
> accessable
> via ASP? Or do you have to buy a compoonent?
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com