|
Product |
XFile |
Version |
Prior to 2.1.4 |
Title |
XFile times out when using SSL with Server and ObjectName properties because correct port number was not specified. |
Problem |
This error affects versions of XFile prior to 2.1.4. (prior to SAXFile.dll versions: 2.1.4.20243; cab-version 2.1.4.20244)
Error message returned to XFile log:
This Operation is Timed Out.
Please Check your Internet Connection
and the TimeOut property.
When using the XFRequest object's Server, ObjectName and UseSSL properties to build the URL address to which the upload will be posted, you must also remember to change the port number to the port appropriate for SSL. Otherwise, the default value of the Port property will remain at 80. SSL traffic usually needs to use port 443, unless configured otherwise. If the wrong port is specified, the request will fail and XFile will eventually time out. |
Solution |
There are multiple solutions to this behavior:
- Upgrade to version 2.1.4 (or higher) of XFile. In this release of XFile, is UseSSL is set to True, the default value of the Port property will be changed to 443. If the Port property is set to a different value in script, that value will used instead.
- Instead of breaking up the URL with the Server, ObjectName, UseSSL and Port properties, use the CurrentURL property instead. If the https protocol is specified in the URL, XFile will set the default port number to 443. See the code sample below to see how CurrentURL is used.
myXFR.CurrentURL = "https://MyServerName/Myapplication/formresp.asp"
- Specify the Port property in the script if you are also using the Server, ObjectName and UseSSL properties. See the code sample below to see how these properties are used.
<OBJECT
classid="CLSID:230C3D02-DA27-11D2-8612-00A0C93EEA3C"
codebase="http://REMUS/SAXFileSamples/SAXfile.cab#Version=2,x,x,x"
id="AXFFile"
VIEWASTEXT>
'---parameters would go here...
</OBJECT>
<SCRIPT language="vbs">
set myXFR = AXFFile.XFRequest
...
With myXFR
.Debuglevel = true
.DebugLog = "C:\Save Here\XFileLog.log"
'---If not using the CurrentURL property,
'--- the following values must be set:
.Server = "MyServerName"
.ObjectName = "/MyApplication/formresp.asp"
.UseSSL = True
.Port = 443
End With
...
</SCRIPT>
|
Created : 6/25/2004 11:55:53 AM (last modified : 6/25/2004 11:55:53 AM) |
|