Re: lwp-download http://..--how do I use it to download pages?



On Jun 13, 8:26 am, Peter Scott <Pe...@xxxxxxxx> wrote:
On Tue, 10 Jun 2008 10:00:37 -0700, bdy120602 wrote:
On Jun 9, 1:27 am, Peter Scott <Pe...@xxxxxxxx> wrote:
OK, I'm all set with my original query: I ran all my requests to
download files from a URL separately with "call" as a prefix and
putting it in a batch file; however, I would like to create a log file
so I can view any errors that might have occured ( I plan to run this
nightly). Is it possible to have this report e-mailed to me? If so,
how?

Try Email::Send.  However, in the situation you describe, I usually run
the job under cron in my account and anything it outputs will be emailed
to me anyway, thus making things much easier, if I can do it that way.

Also, would you point me in the direction of a resource to use
lwp-mirror. I'm just a little less than a novice.

http://search.cpan.org/perldoc?lwp-mirrorhttp://search.cpan.org/~gaas/libwww-perl-5.812/lwpcook.pod#MIRRORING

--
Peter Scotthttp://www.perlmedic.com/http://www.perldebugged.com/

Cool. I used the info. you gave me to figure out but I did it without
the cron. One more question. Does Perl have a module that you know of
that can scan an address for new pages, that is, not pages that have
new content, but pages that are new. For example, a Web page currently
has ten pages. http://www.page.com/one.jsp, http://www.page.com/two.jsp,
http://page.com/three.jsp, etc., until ten. Is there a way for Perl,
using a module or otherwise, to scan the URL for an eleventh page?
Also, let's assume that I do not know the file name. For example,
eventhough I would be expecting eleven.jsp, it's possible that it will
be named in this path: http://www.page.com/numbers/index/format.jsp

Thanks again.
.



Relevant Pages

  • Re: Perl problems
    ... >>I am not a perl programer at all, but i have a script that was written ... perl programmer I will. ... the batch file that it calls was the problem. ...
    (comp.lang.perl.misc)
  • Please critique this short script that scans a log file
    ... I'm new to Perl and wrote a simple script to scan a database log file ... with embedded timestamps. ...
    (comp.lang.perl.misc)
  • Re: root cron, written in perl fails when machines reboots
    ... > I assume you mean you have a crontab entry for a perl program, ... The cron is set to run once per minute. ... it is a crontab entry for a perl program. ...
    (comp.unix.solaris)
  • Re: Perl reliability?
    ... one log file, and sometimes it won't. ... Is Perl more stable on other platforms? ... If you could try it some how w/out threading, ... possibly not thread safe, possibly thread ...
    (comp.lang.perl.misc)
  • Re: cron manipulation and perl-cgi
    ... > I am trying to develop a webpage with login,password and Unix box name ... parameters in Perl. ... not cryptically as found in CRON ... certain entries SELECTED or CHECKED depending on the cron schedule. ...
    (comp.lang.perl.modules)