Greeting all,
I was trying to use C# to download a file that needs log-in:
string strDownloadURL = "http://www.cchere.com/list.rdl";
WebClient Client = new WebClient();
Client.Download File(strDownloa dURL, "c:\\s.rdlc ");
However the code returns "Authorizat ion Failure" error, because that URL requires login.
I DO have the username and password that will allow me to download the file from web browser. How can i do this from C# code?
Thanks a lot!
Gary
I was trying to use C# to download a file that needs log-in:
string strDownloadURL = "http://www.cchere.com/list.rdl";
WebClient Client = new WebClient();
Client.Download File(strDownloa dURL, "c:\\s.rdlc ");
However the code returns "Authorizat ion Failure" error, because that URL requires login.
I DO have the username and password that will allow me to download the file from web browser. How can i do this from C# code?
Thanks a lot!
Gary
Comment