HeinMueck Posted November 25, 2008 Share Posted November 25, 2008 (edited) Hi,I'm trying to do a inetget through a proxy that requieres authentication. Apart from not beeing able to distinguish between proxies that want auth and proxies that don't because of the missing @error docs (http://www.autoitscript.com/forum/index.php?showtopic=84709), I found out that when specifying credentials to a proxy InetGet will fail anyway. Something seems to be broken here. I tried it with 3.2.4.9 and 3.2.12.1, both the same. Proxy is a Squid3 with basic auth and works fine ans as expected from that machine for IE and Firefox. I know the docs say "Only CERN proxy servers are supported." Does this mean that AutoIt only supports THE (mindboggingly stoneaged) CERN httpd or is a squid being considered as CERN-like enough to work with it, too?$ret = HttpSetProxy(2, "192.168.1.38:8080", "user", "password") If $ret == 0 Then MsgBox(16, "Example", "Proxy Error") Exit EndIf $ret = InetGet("http://www.google.com/index.html", @TempDir & "\test.file.html", 1, 0) MsgBox(0, "Example", "Result: " & $ret)If you lower the curtains on the proxy and try it without auth it works. Is there any way around it? Cheers,Hein Edited November 25, 2008 by HeinMueck Link to comment Share on other sites More sharing options...
dbzfanatic Posted November 25, 2008 Share Posted November 25, 2008 CERN only proxies, squid isn't supported. Not in the helpfile, not default to autoit. You may be able to find a proxy function a user has made but I wouldn't bet on it. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
HeinMueck Posted November 25, 2008 Author Share Posted November 25, 2008 Hmm, useful ... 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