Click to See Complete Forum and Search --> : zipping files in asp


cedd82
07-24-2007, 09:07 PM
hey

i need to zip a series of xml documents, they start off as objects however, so for example i want to do something like this

var zip = server.createobject(somezipcomponent)
var a = "<xmldoc1></xmldoc1>"
zip.addfile(a);
var b = "<xmldoc2></xmldoc2>
zip.addfile(b);
//send zip to client...



All the examples of zipping thus far have been zipping files that are already on the webserver, not objects currently been worked on while the code is executing.

i dont really want to have to create the files and then have to delete them since this creates issues with executing the same page at the same time.

does anyone know of a good preferably free component to do this ?

thanks