I put url
to browser\'s address bar and it downloads the zip file to HD. The size of zipped file is 386 bytes as written in its properties.
When I use <
Give this a shot:
var response = webRequest.GetResponse() as HttpWebResponse;
var stream = response.GetResponseStream();
var s = new ZipInputStream(stream);
I believe you're very close and that you're using the right approach -- you can use this article to back that up -- their code is very similar.
I'm using http://dotnetzip.codeplex.com/ I've not used it to download stuff, but to extract stuff that people upload to my server. I assume it should work perfectly the other way round too.
I've tried the built-in zip from microsoft too, but also had issues. So I gave it up and switched.