Jump to content
Sign in to follow this  
brett

Urldownload To File...

Recommended Posts

brett

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

Share this post


Link to post
Share on other sites
brett

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


-Brett

Share this post


Link to post
Share on other sites
scriptkitty

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.

Share this post


Link to post
Share on other sites
dazzyreil

hmm do you normaly have to login to download that file ??


Share this post


Link to post
Share on other sites
scriptkitty

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.

Share this post


Link to post
Share on other sites
brett

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

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  

×