How to make form select file to zip and automatic uploaded

asp Indonesia
  • 13 years ago
    Dear Forums,
    I have problems to make form to selected 3 file, after submit then automatic that file zip and automatic uploaded to other directory.
    Situation :
    i have script to zip file :
    Dim objZip
    Set objZip = Server.CreateObject("XStandard.Zip")
    objZip.Pack "C:\zip\ga.bmp", "C:\zip\ga.zip"
    'objZip.Pack "C:\zip\ga2.bmp", "C:\zip\ga2.zip"
    Set objZip = Nothing
    response.write("Worked")
    %>

    But that script i don't know how to make that not relatif path like that
    Please any body help me??
  • 13 years ago
    do you have successfull installation ?

    regsvr32 XZip.dll



Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“C++: an octopus made by nailing extra legs onto a dog.” - Steve Taylor