Prev: asmsctrl.dll
Next: Compressing/extracting cab file
From: Loane Sharp on 13 Feb 2005 15:58 Hi there I'm new to VB.NET programming and really programming in general. I have a small binary file on my website that I want to download programmatically onto my local hard drive. I can locate the file on my website using (System.Net. namespace) ... Dim uri As New Uri(<web address goes here>) Dim req As WebRequest = WebRequest.Create(uri) Dim resp As WebResponse = req.GetResponse(). Is there a simple way to download this file to my hard drive? Please help Best regards Loane
From: Herfried K. Wagner [MVP] on 13 Feb 2005 17:34 "Loane Sharp" <look_sharp(a)hotmail.com> schrieb: > Is there a simple way to download this file to my hard drive? 'WebClient.DownloadFile'. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
From: Loane Sharp on 13 Feb 2005 17:54 p.s. for instance, how would I copy a .gif file from my website to my local hard drive programatically? "Loane Sharp" <look_sharp(a)hotmail.com> wrote in message news:OwByC9gEFHA.3120(a)TK2MSFTNGP12.phx.gbl... > Hi there > > I'm new to VB.NET programming and really programming in general. > > I have a small binary file on my website that I want to download > programmatically onto my local hard drive. > > I can locate the file on my website using (System.Net. namespace) ... > > Dim uri As New Uri(<web address goes here>) > Dim req As WebRequest = WebRequest.Create(uri) > Dim resp As WebResponse = req.GetResponse(). > > Is there a simple way to download this file to my hard drive? > > Please help > Best regards > Loane >
From: Loane Sharp on 13 Feb 2005 17:55 Thanks Herfried, you're a lifesaver. Best regards Loane "Herfried K. Wagner [MVP]" <hirf-spam-me-here(a)gmx.at> wrote in message news:%23t8FwwhEFHA.3780(a)TK2MSFTNGP09.phx.gbl... > "Loane Sharp" <look_sharp(a)hotmail.com> schrieb: >> Is there a simple way to download this file to my hard drive? > > 'WebClient.DownloadFile'. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
|
Pages: 1 Prev: asmsctrl.dll Next: Compressing/extracting cab file |