Hello, I have a question about using wget. Now I am days that I can not all in vain, my aim is to download a file from a website that is generated through a form.
For example the site is this: http://www.armaholic.com/page.php?id=30431 To the bottom of the page there is the link for download, is a simple "submit" button belonging to the form that will attract directed, via the "action" this address: " http://www.armaholic.net/downloader.php?download_file=chili/addons/units/BTC-Militia-version-1.1.7z " the form is this: > <form method="post" action=" > http://www.armaholic.net/downloader.php?download_file=chili/addons/units/BTC-Militia-version-1.1.7z > "> > <div style="display:inline;margin:0;padding:0"> > <input type="hidden" name="x" value="3910CD8F"></div> > <div class="hide-s"> > <label for="super">What is two plus two?</label> > <input name="super" type="text" size="4" id="super"></div> > <input type="hidden" name="captcha" value="I am a human!"> > <input type="submit" name="submit" value="Click to download =BTC= Militia"> > </form> I have write this command for my .bat file > %WGET% --http-user=Mozilla/5.0 --save-cookies=cookies.txt > --keep-session-cookies --header="Content-Type: > application/x-www-form-urlencoded" -c --no-check-certificate > --post-data=--post-data="captcha=I am a human^!&x=3910CD8F" -c > http://www.armaholic.net/downloader.php?download_file=chili/addons/units/BTC-Militia-version-1.1.7z I hope you manage to help me, I have not slept in days. Thank you
