StUnT10011
08-20-2004, 08:12 PM
I am using a web client to download the source of a web site but I have run into a small problem. to get the source i need i need to be logged into the site, but when i ry to download, i get the wring page because I'm not logged in. I have found the cookie that contains the login info. (i got it when i clicked Remember Password) My question is how can how use the cookie and the web client to obtaiin the source of the site. or is there another, easier way to do thsi. Thanx, Peter.
Dim wclient As New System.Net.WebClient
wclient.DownloadFile("http://www.thesiteineed.com/", "C:\thesource.txt")
Dim wclient As New System.Net.WebClient
wclient.DownloadFile("http://www.thesiteineed.com/", "C:\thesource.txt")