Hi All,
I'm using .NET WebClient class to extract HTML pages from a SharePoint 2007 server. I can extract HTML content fine as long as there are no URL redirects. When there are URL redirects WebClinet class throws un-authorized exceptions.
I have checked the network trace logs for my application and it seems the WebClient in fact handles URL re-directions but for some reason it throws un-authorized exception. Also according to MSDN WebClient class should handle redirects by default.
Thanks, Shamika