brett 0 Posted May 9, 2004 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 0 Posted May 9, 2004 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 1 Posted May 9, 2004 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 0 Posted May 10, 2004 hmm do you normaly have to login to download that file ?? Share this post Link to post Share on other sites
scriptkitty 1 Posted May 10, 2004 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 0 Posted May 10, 2004 (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 May 11, 2004 by brett -Brett Share this post Link to post Share on other sites