zipping files via asp?

Discussion in 'ASP General' started by Beau, Dec 24, 2004.

  1. Beau

    Beau Guest

    Is there a native 'zipping' or compression compoonent in windows accessable
    via ASP? Or do you have to buy a compoonent?
     
    Beau, Dec 24, 2004
    #1
    1. Advertising

  2. 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" <> wrote in message
    news:...
    > Is there a native 'zipping' or compression compoonent in windows
    > accessable
    > via ASP? Or do you have to buy a compoonent?
    >
    >
     
    Jason Brown [MSFT], Dec 24, 2004
    #2
    1. Advertising

  3. 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" <> wrote in message
    news:...
    > Is there a native 'zipping' or compression compoonent in windows
    > accessable
    > via ASP? Or do you have to buy a compoonent?
    >
    >
     
    Ray Costanzo [MVP], Dec 24, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Doug Tolton

    Zipping and Unzipping files

    Doug Tolton, Nov 21, 2003, in forum: Python
    Replies:
    1
    Views:
    331
    Peter Hansen
    Nov 21, 2003
  2. OriginalBrownster

    Zipping Files to user defined Directory

    OriginalBrownster, Jul 28, 2006, in forum: Python
    Replies:
    4
    Views:
    344
    Danny Milosavljevic
    Sep 2, 2006
  3. OriginalBrownster

    Zipping files/zipfile module

    OriginalBrownster, Aug 2, 2006, in forum: Python
    Replies:
    5
    Views:
    480
    Brian Beck
    Aug 2, 2006
  4. OriginalBrownster
    Replies:
    4
    Views:
    355
    Dennis Lee Bieber
    Aug 21, 2006
  5. Arthur
    Replies:
    2
    Views:
    135
    Arthur
    Nov 30, 2003
Loading...

Share This Page