GrayFox Posted May 18, 2010 Share Posted May 18, 2010 Hi everyone, I am having an unusual problem: _InetGetSource does not work at all for me, even the most simplest of code: #Include <INet.au3> $url = "http://www.google.com/" $source = _INetGetSource($url) MsgBox(4096,"Source",$source) Produces a blank message box ... #include <Inet.au3> Local $sFilename = @TempDir & "\autoit_version.dat" Local $nBytesRead = InetGet("http://www.autoitscript.com/autoit3/files/beta/update.dat", $sFilename, 1) Local $sVersion = IniRead($sFilename, "AutoIt", "version", -1) FileDelete($sFilename) ConsoleWrite("Bytes read: " & $nBytesRead & @CRLF & $sVersion & @CRLF) Console output is: Bytes read: 0 I am using wireless internet on 32-bit Windows 7. Any help is much appreciated Link to comment Share on other sites More sharing options...
hawky358 Posted May 18, 2010 Share Posted May 18, 2010 Can you perform any network based action via Autoit? Try doing a ping() ... Maybe firewall is blocking it? I know the inet.... functions are dependant on Internet Explorer (Not sure about _Inet..., haven't checked yet). Does your Internet Explorer work properly? Link to comment Share on other sites More sharing options...
GrayFox Posted May 18, 2010 Author Share Posted May 18, 2010 hawky that was it! Thanks so much for solving the problem - IE was set to use a nonfunctioning proxy server >< ... If I could +rep you I would. Everything works great now 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