Syntactic Confectionery Delight | |
PerlMonks |
How To Download DAT Files From Unsecured Websiteby Marjan (Initiate) |
on Jan 31, 2012 at 01:29 UTC ( [id://950854]=perlquestion: print w/replies, xml ) | Need Help?? |
Marjan has asked for the wisdom of the Perl Monks concerning the following question: Monks: I need to download some data files from a website, and would welcome any suggestions. The website has three pull-down menus: firm name, date, and file format. I want to download data for every firm and date. In other words, firm1-June2001, firm1-July2001, …, firm1-December2011, firm2-June2001, firm2-July2001, …, firm2-December2011. I would also like to choose “dat” from the format pull-down menu, and need to press the download button to download the file to my machine. I also would like to slow the download speed down so I don’t overload the website’s server, and have a file that indicates which firm-date files are downloaded and whether errors occurred. For instance, I want to distinguish between a missing file and a download error. I am running this program on a Windows machine with Chrome. I found the following code at http://www.perlmonks.org/?node_id=617277 and am looking for any suggestions on how to adapt it. The notations are my additions.
Back to
Seekers of Perl Wisdom
|
|