Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
1.20/5 (3 votes)
See more:
hello guys, I´d like to know how can i download some file from a url to my computer...I tried something like that:

VB
Dim wc As WebClient = New WebClient()

wc.DownloadFile("http://www1.caixa.gov.br/loterias/_arquivos/loterias/D_lotfac.zip", "C:\D_lotfac.zip")



but it isn´t worked :/

the url that i need to use is it ---> http://www1.caixa.gov.br/loterias/_arquivos/loterias/D_lotfac.zip

I´ve alredy use this code above to download that file, but it was some time ago, but now it´s just stop working....

so since then, thank u guys :)
Posted
Comments
PIEBALDconsult 12-Aug-15 20:54pm    
If it used to work, it still should. Are you sure the file still exists.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900