Jump to content
Sign in to follow this  
Joon

Problem with InetGet function.

Recommended Posts

Joon

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

Share this post


Link to post
Share on other sites
Valuater

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

Share this post


Link to post
Share on other sites
nicklick

hey jon...gigidi gigidi :o


gigidi gigidi

Share this post


Link to post
Share on other sites
Joon

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.

Share this post


Link to post
Share on other sites
jpm

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

You have to look about your internet setting.

perhaps a firewall/proxy problem

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.