kaz Posted August 6, 2014 Share Posted August 6, 2014 (edited) Hello from france, I would like to write a script to download/update ZHPCleaner from this adresse : http://www.nicolascoolman.fr/download/zhpcleaner/ I tried to use Inetxxx functions, but it doesn't do the job. I tried to use UrlDownloadEx.au3 (download on the forum), same result. I can download other tools like adwcleaner, HitmanPro...but not this one. Can someone have a solution? Sorry for my bad english ;-) Edited August 7, 2014 by kaz Link to comment Share on other sites More sharing options...
javiwhite Posted August 6, 2014 Share Posted August 6, 2014 Hi Kaz. Would it be possible to see your code? If you're using the same link in your code as you are in your post, then it is probably due to the fact that the website address does not include the file itself. Try this link (as its the direct link to the download) in your script: http://www.nicolascoolman.fr/?wpdmdl=1956 Thanks Javi give a man an application, and he'll be frustrated for the day, Teach him how to program applications and he'll be frustrated for a lifetime. Link to comment Share on other sites More sharing options...
kaz Posted August 6, 2014 Author Share Posted August 6, 2014 Thanks, i use this link to, the one behind the button. #include <UrlDownloadEx.au3> UrlDownloadEx("http://www.nicolascoolman.fr/?wpdmdl=1956", "ZHPCleaner.exe", 1) if @error<> 0 Then ConsoleWrite(@error & @CRLF) The error obtained is 9 : 9 - _WinHttpQueryHeaders failed Link to comment Share on other sites More sharing options...
kaz Posted August 8, 2014 Author Share Posted August 8, 2014 I tried différent solution but none is ok. Anyone to help? Link to comment Share on other sites More sharing options...
Solution kaz Posted August 16, 2014 Author Solution Share Posted August 16, 2014 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