Zip a file with ASP
Posted on 2003-03-19
Hi, I've looked all over the place but many posts are over 2 years old and things may now be easier:
I want to create a wab based image gallery where after viewing images via thumbnail etc the user can download a full hi-resolution copy, but due to the size of the files (apx 10-20 MB each) i want to zip each one ON DEMAND from within ASP itself.
e.g. "click here to download this image" link will already have the image name etc attached to it, and will send it to a "zip me up" page.
Is it possible in just ASP to create this? the "zip me up" asp page will need to simply take a filename (e.g. photo1.jpg) and compress it, then offer it to the user with the normal Zip download box.
I do have complete control over the 2 servers it will be needed on but would prefer not to install ActivX,etc if the whole thing can be done in pure ASP.
Saying that, all suggestions will be greatfully received as at present I have no real direction forward.