Jump to content

Recommended Posts

Posted

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)
Posted

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....

Posted

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.

Posted

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...

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
×
×
  • Create New...