markloman Posted January 16, 2005 Share Posted January 16, 2005 (edited) I have some problems with HttpSetProxy in mode 2. Mode 2 = Use the proxy specified I want to implement proxy authentication in my AutoIt program. I am testing this mode with CCProxy from YoungZSoft. When I use the code below CCProxy denies access (Unauthorized) while the exact same login details work in Internet Explorer. HttpSetProxy ( 2, "192.168.100.100:808", "admin", "admin" ) InetGet ( "url", "filename", 1, 0 ) I hope someone can help. Edit: I have tried using WinGate instead of CCProxy. Same problem. But when Internet Explorer is authenticated, InetGet retrieves the file. When Internet Explorer is not authenticated, file cannot be downloaded (access denied). Please help. Edited January 16, 2005 by markloman Link to comment Share on other sites More sharing options...
markloman Posted January 18, 2005 Author Share Posted January 18, 2005 (edited) I hope someone can look into this problem soon. Perhaps this bug is in all AutoIt v3 releases?Edit: I have tried ISA Server 2004:- Digest Authentication on Web Proxy: Error Code: 407 Proxy Authentication Required- Basic Athentication (Plain text) on Web Proxy: Error Code: 407 Proxy Authentication Required It does not work...The manual also states:HttpSetProxy ( mode [, "proxy:port" [, "username", "password"]] ); Use no proxy HttpSetProxy(1) ; Use IE defaults for proxy HttpSetProxy(0) ; Use the proxy "www-cache.myisp.net" on port 8080 HttpSetProxy(0, "www-cache.myisp.net:8080")The proxy mode to use:0 = (default) Use current Internet Explorer settings for proxy.1 = Use no proxy (direct access)2 = Use the proxy specifiedAs you can see, the manual has an error too. The last line supposed to be concerning "Use the proxy specified" and therefor should be HttpSetProxy ( 2, "www-cache.myisp.net:8080"). Edited January 18, 2005 by markloman Link to comment Share on other sites More sharing options...
Administrators Jon Posted January 18, 2005 Administrators Share Posted January 18, 2005 You did read the bit about it only working with CERN proxies didn't you? Definately won't work with ISA. I've changed the example, cheers. Not sure what sort of proxy the other you mentioned is. A quick look on the CCProxy webpage has a comment about it being a SOCKS proxy. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
daslick Posted December 25, 2006 Share Posted December 25, 2006 Is there any way to proxy an embedded browser with a socks proxy with autoit? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now