Jump to content

Recommended Posts

Posted

why wont this code work for me?

URLDownloadToFile( "Http://www.download-free-games.com/cgi-bin/track/go.cgi?RicochetLostWorldsSetup.exe", "C:\DownloadTest\Test.exe")
-Brett
Posted

does this function only work when downloading the html of a site? or can i download an EXE also?

-Brett
Posted

the cgi thing is the culprit, it might be checking browser version or something, I download zips and exe files all the time

AutoIt3, the MACGYVER Pocket Knife for computers.

Posted

Nah, if you copy it to a browser, it just tries to set some cookie before it starts the download.

Alternately, you can just startup explorer or your browser of choice to download it.

Run('C:\Program Files\Internet Explorer\IEXPLORE.EXE "Http://www.download-free-games.com/cgi-bin/track/go.cgi?RicochetLostWorldsSetup.exe"')

then just confirm the download and you are set.

AutoIt3, the MACGYVER Pocket Knife for computers.

Posted (edited)

Nah, if you copy it to a browser, it just tries to set some cookie before it starts the download.

Alternately, you can just startup explorer or your browser of choice to download it.

Run('C:\Program Files\Internet Explorer\IEXPLORE.EXE "Http://www.download-free-games.com/cgi-bin/track/go.cgi?RicochetLostWorldsSetup.exe"')

then just confirm the download and you are set.

Thanks for that RUN Command with IE, i didn't know u could add the URL for that! Edited by brett
-Brett

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