brett Posted May 9, 2004 Share 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 Link to comment Share on other sites More sharing options...
brett Posted May 9, 2004 Author Share Posted May 9, 2004 does this function only work when downloading the html of a site? or can i download an EXE also? -Brett Link to comment Share on other sites More sharing options...
scriptkitty Posted May 9, 2004 Share 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. Link to comment Share on other sites More sharing options...
dazzyreil Posted May 10, 2004 Share Posted May 10, 2004 hmm do you normaly have to login to download that file ?? Link to comment Share on other sites More sharing options...
scriptkitty Posted May 10, 2004 Share 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. Link to comment Share on other sites More sharing options...
brett Posted May 10, 2004 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now