Hi..i keep getting a remote server error 401 when i try to automate a download from a site using basic authentication..if i do it manually everything works as expected..ie i browse to the url AND I type the username and password into the windows authentication popup that appears and i can then download the file...However when i try to do this through code i just get "remote server returned an error (401) unauthorised...system.net.webexception...i've tried lots of variations using NetworkCredentials to pass the username,password that people have suggested online but so far they all lead to the same error...has anyone come accross this before...
thanks
ps. i'm using vb.net