Get .txt file instead of .jpg - using Webclient and DownloadFile();
问题 Get .txt file instead of .jpg - using Webclient and DownloadFile(); I'm trying to download the .jpg from this URL: http://1.bp.blogspot.com/_pK6J3MTn5co/S6kuH3aqbeI/AAAAAAAACUY/06axvmjU91k/s1600-h/avengers02_B&W_UL.jpg Using this code: private void TEST_button1_Click(object sender, EventArgs e) { WebClient MyDownloader = new WebClient(); MyDownloader.DownloadFile(@"http://1.bp.blogspot.com/_pK6J3MTn5co/S6kuH3aqbeI/AAAAAAAACUY/06axvmjU91k/s1600-h/avengers02_B&W_UL.jpg", @"c:\test.jpg"); }