Re: Using DotNetZip to compress file during upload

  •  12-12-2008, 4:24 PM

    Re: Using DotNetZip to compress file during upload

    Maybe if I re-phrased this, it would help. What is the best way to intercept the file? As it is being uploaded? After it is uploaded and when it is being copied with it's new name to the permanent folder? I don't want to do anything that will keep the upload from being written to the hard drive and make it eat up computer memory and I'm not sure  how this all works. What terminology would I use to refer to the the temporary file within the code to zip it?
    Code:

    using (ZipFile zip = new ZipFile("[What do I put here?"))

    zip.Save(Do I put anything here or leave it blank?);
     
    Thanks
View Complete Thread