GZipStreamClass

  • Thread starter Thread starter Kristian
  • Start date Start date
K

Kristian

I am writing a program which is suppose to compress a file.

The program will receives many different files. And I am wondering if there
is a smart way
to put them in an array using the new GZipStream Class, and then compress it
all into the same zipfile.

example the program receivs this files

test1.txt
cars and motors.txt
fotball results.txt

and compresses it to one file
div.zip

Can anyone help me out?

Best Regards,
Kristian.
 
hmm , strange, I reposted the question today, because I couldn t find the
question I posted on Friday on the news groups.

ok, anyways..

The app will receice the files in this way..
public void Create(string[] files, string filename)

where the array 'files' contains the file names wich will be zipped into one
file 'filename'.

Regards,
Kristian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top