Jump to content

InetGet in exe


Recommended Posts

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...