Hi,

Articles said that this should be easy:

VB Code:
  1. dim wc as new webclient()
  2. wc.DownloadFile("http://www.webdeveloper.com/animations/latest/gifs/0001.gif", "c:\button.gif")

produces an error:

The remote server returned an error: (401) Unauthorized.

What I'm doing could be wrong. I'm calling this from http://localhost/download/downfile.aspx. I'm connecting to the internet through proxy.

Can somebody help me.