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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...