Author: all2neat | Posted on: 8/6/2009 8:42:52 AM | Views : 440

Is there a way to preview the contents of a zip file prior to the user download it via C# / ASP.NET 3.5?


For example, if a zip file has the following contents.. (1.pdf, 2.png, 3.pdf, 4.txt) I would want the output to be simular to this.


File
----------------------------------

ZipFile.zip
+ 1.pdf 38KB
+ 2.png 512KB
+ 3.pdf 12KB
+ 4.txt 1KB

I'd prefer not to have to unzip the contents to accomplish this as we may end up storing the files in a SQL 2008 database.
I'm not even sure that this is possible..

Thanks!
Cary.

...

Go to the complete details ...