sharpziplib

c#

WebFileManager updated

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

By Jeff Atwood ·
Comments

c#

Net.WebClient and GZip

The Net.WebClient class doesn’t support HTTP compression, e.g., when you add the Accept-Encoding: gzip,deflate header to your request: Dim wc As New Net.WebClient '-- google will not gzip the content if the User-Agent header is missing! wc.Headers.Add("User-Agent", strHttpUserAgent) wc.

By Jeff Atwood ·
Comments