Re: Download files from internet



"Lou Civitella" <lou@xxxxxxxxxxxxxxxx> schrieb:
How can I download files from the internet using VB.Net?

For example I would like to download this file http://www.testsite.com/test.avi

Also a user name and password are required to download the file.

All I want to do is tell the program the file and download it to a specific location on my computer.

\\\ Dim w As New WebClient() w.Credentials = New NetworkCredential("username", "password") w.DownloadFile(...) ///

BTW: I am curious why you posted this question to the Windows Forms group. The name of the VB.NET group is "microsoft.public.dotnet.languages.vb".

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


.



Relevant Pages

  • Re: Where can I D/L ZA 2.6.362 ?
    ... After installing it I was ... >>> Harry ... BTW, I no longer use Internet Explorer, either. ... download a web bug or graphic, so that eliminates one tracking method as ...
    (comp.security.firewalls)
  • Re: Where can I D/L ZA 2.6.362 ?
    ... > I use GetRight as a download manager, and the file is in my ... > indicates that the newer versions of Windows may be actually less secure ... BTW, I no longer use Internet Explorer, either. ... > So, short answer, I fired up GetRight and verified that the url ...
    (comp.security.firewalls)
  • Re: Vlad Munteanu
    ... basic Kiss type pop Rock over garish costumes, ... That is BTW my main impression of Eurovision and the reason I ... I thought the clincher for Lordi was their brilliant lyrics - all that ... I think I will go download it right now! ...
    (rec.sport.soccer)
  • Re: Just Cause demo
    ... John Lewis wrote: ... If I decided to download a 500MB demo which btw I never did. ... If its other genre I only buy if the game has no copy-protection ...
    (comp.sys.ibm.pc.games.action)
  • Re: Where can I D/L ZA 2.6.362 ?
    ... BTW, I no longer use Internet Explorer, either. ... >>> So, short answer, I fired up GetRight and verified that the url ... > copy over your Favorites from IE as well as the proxy settings. ... > download a web bug or graphic, so that eliminates one tracking method as ...
    (comp.security.firewalls)

Quantcast