At the moment our workplace looses 10-20 man-hours a month downloading monthly reports from various sites so
I am trying to write some code that navigates through several web pages and gets them automatically and I'm stuck on one last piece of code.
I want to simulate a "click" on a link called "Download Now" which proves to be associated with as link like this:
"
A left-click brings up the download prompt saying the file is "Downloader from
I believe the relevent source code is below...I am interfacing with IE using Visual FoxPro and Visual Basic commands... what command/values might I need to be passing along?
<select name="monthd1">
<option value="39649@PRNT*PDF">PDF </option><option value="39649@PRNT*XLS">XLS </option>
<a href="#" onClick="return monthlyDownloadNow(1)">Download Now</a>
I found some sytax that looked relevent:
response.sendRedirect(response.encodeURL;
"custFavOverwrite.jsp"
)
Is that something like what I'd want to do? What other values/variables might I also need to change? Any help would be greatly appreciated.
Also, if anyone knows how I can automate the "file download-save to disk" popup that'd be great too.
Thanks!
Brian
I am trying to write some code that navigates through several web pages and gets them automatically and I'm stuck on one last piece of code.
I want to simulate a "click" on a link called "Download Now" which proves to be associated with as link like this:
"
A left-click brings up the download prompt saying the file is "Downloader from
I believe the relevent source code is below...I am interfacing with IE using Visual FoxPro and Visual Basic commands... what command/values might I need to be passing along?
<select name="monthd1">
<option value="39649@PRNT*PDF">PDF </option><option value="39649@PRNT*XLS">XLS </option>
<a href="#" onClick="return monthlyDownloadNow(1)">Download Now</a>
I found some sytax that looked relevent:
response.sendRedirect(response.encodeURL;
"custFavOverwrite.jsp"
Is that something like what I'd want to do? What other values/variables might I also need to change? Any help would be greatly appreciated.
Also, if anyone knows how I can automate the "file download-save to disk" popup that'd be great too.
Thanks!
Brian