WebClient downloads an incomplete file
问题 This method that I wrote was working fine a week ago but now it downloads an incomplete file. The original file is nearly 10mb but the file that is being downloaded is 2k. My code is basically this Dim URL as string = "http://www.cqc.org.uk/sites/default/files/cqc_locations_export.csv" Dim path as string = "C:\temp" Dim webClient As New WebClient webClient.Headers.Add("user-agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729)