psychostrat Posted July 28, 2008 Share Posted July 28, 2008 When I compile this to InetGet.exe it doesn't download the files when InetGet.exe is used, but works while working in autoit? My firewall and virus detection is turned off, so it must be something simple I'm missing... #include <INet.au3> InetGet("http://www.mozilla.org", "C:\foo.html") InetGet("http://www.autoitscript.com", "C:\mydownload.htm", 1) InetGet("ftp://ftp.mozilla.org/pub/mozilla.org/README", "README.txt", 1) ; Advanced example - downloading in the background InetGet("http://www.nowhere.com/somelargefile.exe", "test.exe", 1, 1) While @InetGetActive TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16) Sleep(250) Wend MsgBox(0, "Bytes read", @InetGetBytesRead) Link to comment Share on other sites More sharing options...
psychostrat Posted July 29, 2008 Author Share Posted July 29, 2008 Bump... Just need to know why the example code doesn't download the files like it should when compiled to an .exe Maybe someone has a suggestion on this or possible reasons... thanks.... Link to comment Share on other sites More sharing options...
weaponx Posted July 29, 2008 Share Posted July 29, 2008 Works for me. What version of AutoIt are you using? Link to comment Share on other sites More sharing options...
psychostrat Posted July 29, 2008 Author Share Posted July 29, 2008 It's v3.2.6.0 It works for me when in audoit, but when I compile to .exe and run it... it runs but doesn't download the files. Link to comment Share on other sites More sharing options...
TehWhale Posted July 29, 2008 Share Posted July 29, 2008 Thats a really old version, they upgrading to the new version(s) of AutoIt. Link to comment Share on other sites More sharing options...
psychostrat Posted July 30, 2008 Author Share Posted July 30, 2008 I updated to v3.2.12.1 and still have the same problem, I'm using XP as well.... I'm thinking maybe Onecare has something running in the background or it could be my Netgear router, even though I turned off all the firewalls, I'm puzzled.... Anyway this is a bummer, hopefully I'll find a fix for it. Link to comment Share on other sites More sharing options...
davecollinsnz Posted July 30, 2008 Share Posted July 30, 2008 It might be the autoit compiler settings. Make sure that you compile the script as Unicode and not ANSI or 64 (my pc is XP Home). My Autoit version is 3.2.10.0 Hope it helps. Trust me to make SkyNet 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