I updated the WebFileManager CodeProject article with some enhancements. It now supports zipping files and column sorting:
I included both the code-behind and inline code versions of the page in the solution archive this time. There's also a new dependency on SharpZipLib, assuming you want the remote file zipping support.
I also found out the hard way that..
Posted by Jeff Atwood View blog reactions
« MAME Cocktail Arcade The real cost of performance »
J# has built-in zip libraries. I guess that's native .NET support if you want to include the dll in your project.
There's an article on MSDN Mag about it:
http://msdn.microsoft.com/msdnmag/issues/03/06/ZipCompression/default.aspx
It says it can modify existing zip files. I haven't verified.
Darrell on January 10, 2005 01:41 PMI'm sure it's the same Zip/Gzip class that is in Java.. and that class cannot MODIFY a Zip file. Create, yes, but not modify.
Would be nice if Zip/Gzip was native to .NET 2.0, sure is handy.
Jeff Atwood on January 10, 2005 01:45 PMJeff,
How about creating a setup that can be installed on any IIS box?
rizzo on January 11, 2005 01:02 PMRizzo, what do you mean? I'm not following you.
Jeff Atwood on January 11, 2005 05:49 PMWhat I mean is that if you add a setup project to your solution, it will automatically create a setup.exe for you and you don't have to explain to people how to install it.
rizzo on January 15, 2005 01:39 AMHi,
it is possible to write several AllowedPathPattern in web.config? If YES, how?
Regards, Marko
Marko Lutz on June 29, 2005 10:25 AMYes-- just delimit your regular expressions with a pipe char
Eg,
"c:\wwwroot\apples|c:\wwwroot\oranges|c:\wwwroot\pears"
Just watch out for regex (or XML!) characters that need to be escaped
Jeff Atwood on June 29, 2005 04:44 PMIs it possible to use paths like c:\Windows\
I'm getting exceptions trying to do it!
Thanks
Andrey on September 28, 2007 01:53 PM| Content (c) 2008 Jeff Atwood. Logo image used with permission of the author. (c) 1993 Steven C. McConnell. All Rights Reserved. |