WinZip/Other Alternative?

Discussion in 'ASP General' started by James Baker, Jun 3, 2004.

  1. James Baker

    James Baker Guest

    I'm using ASP and I need to generate a ZIP file that contains a list of
    files that I'm pulling from a database. I've determined WinZip's command
    line parameters so that I can use it, the problem is I'm unsure how to run
    WinZip on the server.

    Set WshShell = Server.CreateObject("WScript.Shell")

    WshShell.Run("c:\winzip.exe")

    Assuming this would work, how do I get the process to terminate upon
    completion? I can't have 20-30 WinZip applications running on the server, I
    need it to handle what I send to it and then close. Maybe I'm taking the
    entirely wrong approach here. Any help would be appreciated.

    James
     
    James Baker, Jun 3, 2004
    #1
    1. Advertisements

  2. There are COM objects that can do this. I've used ZBit Inc's product with
    good success.
    http://www.aspfaq.com/2187

    --
    http://www.aspfaq.com/
    (Reverse address to reply.)




    "James Baker" <> wrote in message
    news:#l#...
    > I'm using ASP and I need to generate a ZIP file that contains a list of
    > files that I'm pulling from a database. I've determined WinZip's command
    > line parameters so that I can use it, the problem is I'm unsure how to run
    > WinZip on the server.
    >
    > Set WshShell = Server.CreateObject("WScript.Shell")
    >
    > WshShell.Run("c:\winzip.exe")
    >
    > Assuming this would work, how do I get the process to terminate upon
    > completion? I can't have 20-30 WinZip applications running on the server,

    I
    > need it to handle what I send to it and then close. Maybe I'm taking the
    > entirely wrong approach here. Any help would be appreciated.
    >
    > James
    >
    >
     
    Aaron [SQL Server MVP], Jun 3, 2004
    #2
    1. Advertisements

  3. James Baker

    Ray at Guest

    I've used Winzip server-side before, but I used the command-line add-on for
    Winzip.
    http://www.winzip.com/downcl.htm

    Ray at work

    "James Baker" <> wrote in message
    news:%23l%...
    > I'm using ASP and I need to generate a ZIP file that contains a list of
    > files that I'm pulling from a database. I've determined WinZip's command
    > line parameters so that I can use it, the problem is I'm unsure how to run
    > WinZip on the server.
    >
    > Set WshShell = Server.CreateObject("WScript.Shell")
    >
    > WshShell.Run("c:\winzip.exe")
    >
    > Assuming this would work, how do I get the process to terminate upon
    > completion? I can't have 20-30 WinZip applications running on the server,

    I
    > need it to handle what I send to it and then close. Maybe I'm taking the
    > entirely wrong approach here. Any help would be appreciated.
    >
    > James
    >
    >
     
    Ray at, Jun 3, 2004
    #3
    1. Advertisements

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. Metin Yerlikaya

    an alternative method to do divided clocks

    Metin Yerlikaya, Feb 15, 2005, in forum: VHDL
    Replies:
    4
    Views:
    861
    John_H
    Feb 15, 2005
  2. Carl Ogawa
    Replies:
    1
    Views:
    585
  3. Matt Verner

    Applet for WinZip-like functionality

    Matt Verner, Apr 16, 2004, in forum: Java
    Replies:
    1
    Views:
    485
    Christophe Vanfleteren
    Apr 16, 2004
  4. Groove

    HtmlEncode? Other Alternative?

    Groove, Jun 29, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    668
    Groove
    Jun 29, 2006
  5. Bill Davy
    Replies:
    12
    Views:
    1,156
    Bill Davy
    Apr 22, 2005
  6. Replies:
    0
    Views:
    685
  7. Chris Dollin
    Replies:
    8
    Views:
    562
    Eric Sosman
    Feb 8, 2007
  8. Diego
    Replies:
    2
    Views:
    283
    Stefan Rusterholz
    Aug 16, 2008
Loading...