Jump to content
Sign in to follow this  

Need Help with HttpSetProxy

Recommended Posts


I am trying to use HttpSetProxy to change to a proxy in a list that I created, but none are being set and its not working correctly. Can anyone help me with this?

#include <file.au3>
#include <IE.au3>

Global $pArray
Global $sTxtProxy = "C:\ProxyList.txt"
    If Not _FileReadToArray($sTxtProxy, $pArray) Then
            MsgBox(4096, "Error", "Error reading file to Array   error:" & @error)
For $pLine = 1 to $pArray[0]
        ToolTip("Changing Proxy", 0, 0, "Proxy Change")
        HttpSetProxy(2, $pArray[$pLine])

Share this post

Link to post
Share on other sites

Really? Even though the help file has examples like

; Use no proxy

; Use IE defaults for proxy

; Use the proxy "www-cache.myisp.net" on port 8080
HttpSetProxy(2, "www-cache.myisp.net:8080")

Which these have no reference to InetGet(). Please redefine your post and please know what your talking about or if the Help file is wrong then sorry for even bothering trying to get help from the board were a function was suppose to do what it says its suppose to do.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this