download file from a websie
807580Aug 2 2010 — edited Aug 5 2010Hi, I want to automatic the following process for downloading a file from website (one click)
1. open website e.g. (http://aa.com/), it will pop out a user name/password msgbox
2. enter the username and passport, and log into the website
3. there's a botton on the website, which calls javascript.dosubmit(), click this botton to download the file and save it to a predefined folder
I don't have experience of manapulating the website using java, I found JDIC to open the website, but seems it can not do the other steps. Please let me know if you have a solution.
Many Thanks!