ReconX Posted April 30, 2014 Share Posted April 30, 2014 It may seem a little far fetched but, is there a way to download a constantly changing url without constantly updating it? For example. I am trying to download Malwarebytes using InetGet. But each version of Malwarebytes changes its .exe filename. mbam-setup-2.0.1.0.exe changed to mbam-setup-2.0.1.1.exe If I visit this link, http://downloads.malwarebytes.org/file/mbam/, it would auto start the download. Is there a way to automate it if there is no alternative? Link to comment Share on other sites More sharing options...
Palestinian Posted April 30, 2014 Share Posted April 30, 2014 >This Link to comment Share on other sites More sharing options...
ReconX Posted April 30, 2014 Author Share Posted April 30, 2014 Can't seem to get it to work properly with the link I provided. When visiting the link, it auto downloads the file. When I put the link in the script, nothing happens. Also, the one with Avast displays what exe's are there, but how do you download a specific one? Link to comment Share on other sites More sharing options...
Solution Palestinian Posted April 30, 2014 Solution Share Posted April 30, 2014 #include <InetConstants.au3> Local $hDownload = InetGet("http://downloads.malwarebytes.org/file/mbam/", "D:\Setup.exe") Link to comment Share on other sites More sharing options...
ReconX Posted April 30, 2014 Author Share Posted April 30, 2014 Thank you sir. You are a scholar and a gentleman. 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