I'm trying to use the following code to download a webpage:
dim xmlhttp : set xmlhttp = createobject("MSXML2.ServerXMLHTTP")
dim fso : set fso = createobject ("scripting.filesystemobject")
dim newfile : set newfile = fso.createtextfile("getVersion.htm", true)
xmlhttp.SetOption SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS, true
xmlhttp.open "GET", "https://mysite:8443/remote/epo.GetVersion", "username", "password"
xmlhttp.send
newfile.write (xmlhttp.responseText)
newfile.close
However, it fails with "mxm13.dll: The parameter is incorrect." on line 6. What am I doing wrong?