Jump to content
Sign in to follow this  


Recommended Posts


im trying to check for errors in the INetGet command, trying to find out if it downloads or not.

InetGet($Scite, "C:\file.exe")
If @InetGetBytesRead = 0 Then

This code doesn't work, any suggestions?

Share this post

Link to post
Share on other sites

Func InetGetBackGround($FileLoc, $szFileName)
Local $bSF = InetGet($FileLoc, $szFileName, 0, 1) ; boolean sucess/fail
While $bSF = 1 
If @InetGetActive then
  TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16)
ElseIf @InetGetActive = 0 Then 
Return TrayTip("done", "Success =" & $bSF)

http://www.myclanhosting.com/defiasVisit Join and contribute to a soon to be leader in Custumized tools development in [C# .Net 1.1 ~ 2.0/C/C++/MFC/AutoIt3/Masm32]

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.