|
Product |
XFile |
Title |
Post to non standard port with XFile |
Problem |
When posting to a website with a port other than 80, you receive an error:A connection with the server cannot be established. |
Solution |
This can be remedied in two ways:
1. Use the Port property in addition to the Server and ObjectName properties.
XFRequest.Server = "yourdomain.com"
XFRequest.Port = 84
XFRequest.ObjectName = "/location/of/response.asp"
2. Use the CurrentURL property instead of the Server and ObjectName properties.
example:
XFRequest.CurrentURL = "http://yourdomain.com:84/location/of/response.asp" |
Created : 9/19/2003 10:09:01 AM (last modified : 9/19/2003 10:09:01 AM) |