Jump to content

Recommended Posts

Posted

Looking to incorperate a downloading script in one of my projects.

I tried:

InetGet ("http://correcturlhere.com/file.exe", "C:\filename.exe", "", 0)

It downloads the file in full size on my computer and works fine, but when I sent to a friend it only downloaded 299bytes/200kb of the file, so ofcourse the file didnt work properly when he ran it.

Is there any different command or script I can try?

I'm new to autoit thanks for any help.

Posted

Looking to incorperate a downloading script in one of my projects.

I tried:

InetGet ("http://correcturlhere.com/file.exe", "C:\filename.exe", "", 0)

It downloads the file in full size on my computer and works fine, but when I sent to a friend it only downloaded 299bytes/200kb of the file, so ofcourse the file didnt work properly when he ran it.

Is there any different command or script I can try?

I'm new to autoit thanks for any help.

Maybe change the command to:

InetGet ("http://correcturlhere.com/file.exe", "C:\filename.exe")

You don't need the last two parameters, and the one you have as "" should be 0.

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
×
×
  • Create New...