Jump to content
Sign in to follow this  

Problem with InetGet() function

Recommended Posts


Hi all.

Sorry for my bad english, I'am french.

I have a problem with the function InetGet(), the file is downloaded, but to 99%, the download stops and only after many seconds the file is completly downloaded.

As if InetGet() block, and then resumed later. I don't know if it comes from me or it is a bug. Can you help me ?

Here's the code:

$size = InetGetSize($File)

ProgressOn ( "Downloading " & $File, "0% downloaded" , $size & " bytes remaining" )

InetGet($File,@DesktopDir & "\autoit-v3.2.10.0-rc-setup.exe",1,1)

While @InetGetActive
    ProgressSet( $Percent,$Remain & " bytes remaining", $Percent & "% downloaded")


MsgBox(0,"Download complete",@DesktopDir & "\autoit-v3.2.10.0-rc-setup.exe")

Share this post

Link to post
Share on other sites

I ran it a couple of times and it worked for me just fine. No delays. I'm not sure, but maybe your antivirus software is checking the file at that point???


Share this post

Link to post
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
Sign in to follow this