Here is the basic code:
WebClient client = new WebClient();
Uri uri = new Uri(uristr);
filename = uri.Segments[uri.Segments.
Length - 1];
client.DownloadFile(uri, filename);
All I am getting is 500 exception. When I use the uri in question i get an 500 exception as well. However not every uri i try cause this problem. if i try a PDF, it opens the PDF. However the files i am trying are dlls and a couple of exes.
can anyone help?
Start Free Trial