 <p>try this</p> <pre><code>Dim HttpReq As HttpWebRequest = DirectCast(WebRequest.Create("http://...."), HttpWebRequest) Using HttpResponse As HttpWebResponse = DirectCast(HttpReq.GetResponse(), HttpWebResponse) Using Reader As New BinaryReader(HttpResponse.GetResponseStream()) Dim RdByte As Byte() = Reader.ReadBytes(1 * 1024 * 1024 * 10) Using FStream As New FileStream("FileName.extension", FileMode.Create) FStream.Write(RdByte, 0, RdByte.Length) End Using End Using End Using </code></pre>