【发布时间】:2014-10-21 19:35:56
【问题描述】:
我正在尝试使用以下代码下载网页:
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
但是,它失败并显示“mxm13.dll:参数不正确”。在第 6 行。我做错了什么?
【问题讨论】: