IBM Computer, Laptops and Servers

Back Homepage Content Directory Resource Guide Blog

How do I zip / unzip files from ASP?

There are many components that will allow you to do this. Remember that these components are designed to allow ASP to zip and unzip files that are on the SERVER. If you are interested in zipping / unzipping files that the client has, these components will be no good to you unless you first upload the files to the server!  network
 

One you've downloaded the ZIP file. The file is ISO files that are compressed and need to be unzipped.

digital cameras
    RemoteZip/ServerZip 

What is ASP ASP stands for Active Server Pages. Active Server Pages are HTML pages with embedded ASP scripts that are processed on the server before the page is sent to the user. ASP allows you to create dynamic database driven pages, a user can access data in a database, and interact with page objects such as Active X or Java components. How does ASP work When you type a URL in the Address Box or click on a web page you are asking the web server to send a file to your computer; if the file is standard HTML, then, when your web browser receives the web page it will look exactly the same as it did on the web server. However if an ASP file is sent to your computer from the web server, firstly, the server will run the HTML code; and then, run the ASP code. the ASP code could be the current date, or time; and other such information.

desktops
 
    1. Visit the Adobe Connect Enterprise Server Licensed Support site.
    2. In the Adobe Connect Downloads section of the page, click on the Adobe Connect 6 Service Pack 3 Installer link to download the .zip file containing the installer.
    3. Back up your custom.ini file and any custom .jar file you might have. The installer will backup your appserv and comserv directories, but not those files.
    4. Unzip the package and run the installer on the Connect server machine(s).
    5. Reapply any customizations to custom.ini (and other configuration files), install any custom .jar files.
    6. Restart your server after the installer is complete.
cognos
    Xceed Zip 
    1. Visit the Adobe Connect Enterprise Server Licensed Support site.
    2. In the Adobe Connect Downloads section of the page, click on the Adobe Connect 6 Service Pack 1 Installer (ZIP format, 363.4 MB).
    3. Back up your custom.ini file. The installer will backup your appserver and comserver directories, but not that file.
    4. Unzip the package and run the installer on the Connect server machine(s).
    5. Reapply any customizations to custom.ini (and other configuration files), install any custom .jar files.
    6. Restart your server after the installer is complete.
hosting
 

CoffeeCup Free Zip Wizard makes it easy to Zip and Unzip files. mail and FTP functions, so you can Zip and send your files in one easy step. Free Zip Wizard can also run any program or setup file inside Zip files. extracting .exe files, and find all the Zip files on your system too.

netfinity
    SA-Archive  internet
  cheap computer
    WaspZip  digital camera
  printer
    Zbit Zip-Unzip  xseries
  maxtor
I've used the last component in the list, Zbit's Zip/Unzip. It is simple yet robust and very reliable. After much testing, I am about to deploy it in a commercial project.  data storage
  hitachi
Using PKZip Command Line with Windows Script Host - sample code!  rational
  websphere
Assuming, of course, that you have Windows Script Host installed, and that you have the ability to install programs and alter configuration on your server, you can call PKZip Command Line from Windows Script Host (which, in turn, you can run from ASP). Here are some instructions to get you started:  battery
  it support
  1. Download PKZip Command Line from PKWare  western digital
      music
  2. Run the install for PKZip Command Line  networks
      toner
    The following steps are required in Windows 2000 and Windows XP.  cheap laptops
      wholesale
  3. Right-click My Computer, hit Properties  brother
      netvista
  4. On the Advanced tab, click Environment Variables  camera
      networking
  5. Under 'User variables for <USER>', you will find the PATH variable  sharp
      cheap
  6. This PATH variable will include the PKZip folder  windows
      monitors
  7. Click Edit... and copy the PKZip folder section  linux
      computer support
  8. Under System Variables, double-click PATH  used laptops
      cameras
  9. Add a semi-colon to the end of the path, and paste the PKZip folder without the quotes  scanners
      panasonic
  10. Click OK, Apply, and OK.
  workstation
Now, provided IUSR_<machine> has appropriate permissions to the destination folder, you can run a script like this:  iseries
  backup
<%  information technology
    set shell = CreateObject("WScript.Shell")  routers
    zipCommand = "pkzipc -add " & server.mappath("/") & "\test.zip c:\*.log"  180gxp
    shell.Run zipCommand, 1, true  notebook battery
    set shell = nothing 
%>

Share this:

Add To Yahoo MyWeb Add To Google Bookmarks Add To Furl Fav This With Technorati Add To Newsvine Add To Bloglines Add To Ask Add To Windows Live Add To Slashdot Stumble This Digg This Add To Del.icio.us Add To Reddit

More about:

Jul August 2008 Sep
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

IBM Computer, Laptops and Servers Blog on Technorati Related Blog of IBM Computer, Laptops and Servers on Sphere
Content Directory
Resource Guide


Alpha Software Web and Desktop Database Solutions

Website Links
IBM Computer, Laptops and Servers Copyright © 2008 www.ibmfans.com. All rights reserved. Site Map
Homepage | Blog | Advertise | Privacy Policy | Disclaimer | Contact Us | Links