Can someone please tell why, when I use WebClient in C# to download a zip file, it works, unless i am trying to download http://wordpress.org/latest.zip
The zip file downloads, but when viewed with Notepad++ I can clearly see the HTML for the wordpress.org home page.
Thanks,
Ashley
I can’t reproduce the problem. Here’s a simple program which works fine:
After running that, I can open
latest.zipwith no problems. I suspect you’re not really downloading that URL…