WebRequest an automatic configuration script

c3b12

Member
Joined
Aug 30, 2004
Messages
5
Can somebody help me on this issue?

How to download a file with WebRequest and GetResponse when your are using (compagny security policy) an automatic configuration script (http://xxxx.yy:8080/cfg) to access Internet.

(It works with the Wininet API functions but Im looking for managed code)
 
PlausiblyDamp said:
Are you trying to download a specific file or just the ability to download any file from the internet?
The tool Im writing must have the ability to download any file from the Internet and save it.
 
Have you looked at the WebClient class?
Code:
Dim w As New System.Net.WebClient
w.DownloadFile(<url to downlaod from>, <path to save to>)
 
PlausiblyDamp said:
Have you looked at the WebClient class?
Code:
Dim w As New System.Net.WebClient
w.DownloadFile(<url to downlaod from>, <path to save to>)

Yes Ive tried this. Here is my original code:

Dim hwrRequ​
 
Back
Top