How do I use the proxy properties of the HTTP/S component?

How do I use the proxy properties of the HTTP/S component?

Date Entered: 6/17/2004    Last Updated: 6/17/2004

If you need to perform Basic Authentication:

1. Just specify your proxyserver, port, user and password properties:

    HTTPS1.proxyserver = proxyserver
    HTTPS1.ProxyPort = 8080
    HTTPS1.ProxyUser = user
    HTTPS1.ProxyPassword = pass
    HTTPS1.Get txtURL.Text
If you need to perform Digest Authentication (You'll need at least V6 of IPWorks):
    HTTPS1.AuthScheme = 1 'authDigest
    HTTPS1.proxyserver = proxyserver
    HTTPS1.ProxyPort = 8080
    HTTPS1.ProxyUser = user
    HTTPS1.ProxyPassword = pass
    HTTPS1.Get txtURL.Text
If you need to use NTLM authentication (You'll need at least V8 of IPWorks):
    HTTPS1.AuthScheme = 4 'authNtlm
    HTTPS1.proxyserver = proxyserver
    HTTPS1.ProxyPort = 8080
    HTTPS1.ProxyUser = user
    HTTPS1.ProxyPassword = pass
    HTTPS1.Get txtURL.Text
if you need to perform NTLM authentication in previous versions of IPWorks (in previous versions this was only supported in HTTPS by setting usewininet to true):

1. You can set usewininet to true, specify a specific proxyserver, port, user, and password:

    HTTPS1.usewininet = true
    HTTPS1.proxyserver = proxyserver
    HTTPS1.ProxyPort = 8080 
    HTTPS1.ProxyUser = user
    HTTPS1.ProxyPassword = pass
    HTTPS1.Get txtURL.Text
2. You can set usewininet to true, and use wininets defaults for EVERYTHING:
    HTTPS1.usewininet = true
    HTTPS1.proxyserver = "*"
    HTTPS1.Get txtURL.Text
3. You can set usewininet to true and use your own user and password:
    HTTPS1.usewininet = true
    HTTPS1.proxyserver = "*"
    HTTPS1.ProxyPort = 8080
    HTTPS1.ProxyUser = user
    HTTPS1.ProxyPassword = pass
    HTTPS1.Get txtURL.Text
this is equivalent to
    HTTPS1.usewininet = true
    HTTPS1.proxyserver = "*user*password"
    HTTPS1.ProxyPort = 8080
    HTTPS1.Get txtURL.Text

We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.