I am using Microsofts XMLHTTP to attempt to grab pages off of a remote server. Some servers it works, some it doesn't, it just comes back with basic HTML structure. I am using a VB component, but that is not related to the problem. A snippit of my code is below.
When I have http://www.sitepoint.com/ as my strFilePath data, I get this such error.
Set objXML = New XMLHTTP
objXML.Open "GET", strFilePath, False
objXML.setRequestHeader "Content-type", "text/html"
If objXML.readyState <> 4 Then
strFileContents = objXML.responseText
Set objXML = Nothing