findmyip Posted June 19, 2011 Share Posted June 19, 2011 (edited) sleep(5000) $count = 1 Do run("wget.exe --referer http://192.168.1.1/download.html -q http://192.168.1.1/download.html --post-data getip=10.10.10.100^&getfname=" & Hex($count,2) & ".bin -O R:\" & Hex($count,2) & ".bin") sleep(3000) $count = $count + 1 Until $count > 255 i cannot get this to work trying to download 00.bin/01.bin/09.bin/FE.bin/FF.bin files up to 255 files Edited June 19, 2011 by findmyip Link to comment Share on other sites More sharing options...
smartee Posted June 19, 2011 Share Posted June 19, 2011 A $count=$count+1 after your Sleep() is needed to increment the counter Link to comment Share on other sites More sharing options...
findmyip Posted June 19, 2011 Author Share Posted June 19, 2011 A $count=$count+1 after your Sleep() is needed to increment the counter sorry forgot to add this line "$count = $count + 1 " but it still does not work Link to comment Share on other sites More sharing options...
smartee Posted June 19, 2011 Share Posted June 19, 2011 (edited) Ok well the syntax of your AutoIt code is correct.It is up to you make sure your Wget syntax is correct, (Manual), and ensure you are sending the expected post data to the website.You are working with a private website, so we may not be able to help you with these(unless you provide more info, or a snippet we can all run and help debug).Edit:typos Edited June 19, 2011 by smartee Link to comment Share on other sites More sharing options...
Maffe811 Posted June 19, 2011 Share Posted June 19, 2011 192.... is a router ip?Correct?What are you trying to download?Can you provide more info, or a snippet we can all run and help debug ?What router is it you are trying to download from? [font="helvetica, arial, sans-serif"]Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.[/font]Scripts:[spoiler]Simple ScreenshotSaves you alot of trouble when taking a screenshot!Don't remember what happened with this, but aperantly the exe is all i got.If you don't want to run it, simply don't._IsRun UDFIt figures out if the script has ben ran before based on the info in a ini file.If you don't want to use exactly what i wrote, you can use it as inspiration.[/spoiler] 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