Re: Perl LWP::Simple

2010-05-04 Thread Shawn H Corey
Tony Esposito wrote: Bravo! I am in ... but I need to traverse many links over multiple pages to get to the one that points to the file I want to download. Would follow_link() be the answer? Yes, but it's up to you to figure out how to navigate them. :) -- Just my 0.0002 million dolla

Re: Perl LWP::Simple

2010-05-04 Thread C.DeRykus
On May 4, 9:46 am, tony1234567...@yahoo.co.uk (Tony Esposito) wrote: > Cheers! > > New to LWP and downloading file/copying file from Web to local box.  Had a go > at it and failed horribly...  On Solaris 10 with Perl 5.10. > #!/usr/bin/perl -w > use strict; > use LWP::Simple qw($ua get); > my $web

Re: Perl LWP::Simple

2010-05-04 Thread Tony Esposito
, 2010 11:59:53 Subject: Re: Perl LWP::Simple Tony Esposito wrote: > Cheers! > > New to LWP and downloading file/copying file from Web to local box.  Had a go > at it and failed horribly...  On Solaris 10 with Perl 5.10. > #!/usr/bin/perl -w > use strict; > use LWP::Sim

Re: Perl LWP::Simple

2010-05-04 Thread Shawn H Corey
Tony Esposito wrote: Cheers! New to LWP and downloading file/copying file from Web to local box. Had a go at it and failed horribly... On Solaris 10 with Perl 5.10. #!/usr/bin/perl -w use strict; use LWP::Simple qw($ua get); my $webpage ="https://www.mywebpage.com/Documents.zip";; $ua->timeou

Perl LWP::Simple

2010-05-04 Thread Tony Esposito
Cheers! New to LWP and downloading file/copying file from Web to local box.  Had a go at it and failed horribly...  On Solaris 10 with Perl 5.10. #!/usr/bin/perl -w use strict; use LWP::Simple qw($ua get); my $webpage ="https://www.mywebpage.com/Documents.zip";; $ua->timeout(20); my $content = ge