Jump to content

Problem with InetGet function.


Recommended Posts

My script runs on most of the client but there is one XP client that I am having problem with InetGet function.

Example:

$result = InetGet("http://www.google.com", "C:\foo.txt")

$result shows 0 but c:\foo.txt is 0 byte. Again, same script runs fine on all other clients.

FileMon and RegMon detect no access failure.

Any ideas?

There was http://www.autoitscript.com/forum/index.ph...pic=21513&st=15 post but no solutions on that neither . :o

Link to comment
Share on other sites

this works on my Win Xp computer

; Advanced example - downloading in the background
InetGet("http://www.autoitscript.com", "C:\mydownload.htm", 1, 1)

While @InetGetActive
  ToolTip( "Bytes = " & @InetGetBytesRead, 10, 16, "Downloading")
Wend

MsgBox(0, "Bytes read", @InetGetBytesRead)

8)

NEWHeader1.png

Link to comment
Share on other sites

this works on my Win Xp computer

; Advanced example - downloading in the background
InetGet("http://www.autoitscript.com", "C:\mydownload.htm", 1, 1)

While @InetGetActive
  ToolTip( "Bytes = " & @InetGetBytesRead, 10, 16, "Downloading")
Wend

MsgBox(0, "Bytes read", @InetGetBytesRead)

8)

Both codes (mine and yours) work on my XP also. but not on couple of other XP clients we have here.

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