Re: robot/ua-get..........FAILED tests 1-3, 5, 7

2004-03-11 Thread Gisle Aas
"ALexander N. Treyner" <[EMAIL PROTECTED]> writes: > Could somebody help me to figure out what's wrong? It means that your machine can't talk to itself, probably because the hostname of your machine does not resolve to itself. If you are on a Unix system, then "ping `hostname`" needs to work. -

Re: Using the post method for downloading a file

2004-03-11 Thread Octavian Rasnita
Thank you. I will try your example and check the lwpcook. The file name is available, and I guess the server sets the appropriate header for doing that and I will try to verify it. Teddy - Original Message - From: "Doug Monroe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday,

Re: Using the post method for downloading a file

2004-03-11 Thread Doug Monroe
Octavian Rasnita wrote: Hi all, I am fighting to create a simple script for downloading a file from a server, but I cannot do it. [snip] 1. I don't know where I can put the form fields I want to use for the post method (r=300 ), see 'perldoc lwpcook' -->> 'POST' section my $req = HTTP::Request->n

Using the post method for downloading a file

2004-03-11 Thread Octavian Rasnita
Hi all, I am fighting to create a simple script for downloading a file from a server, but I cannot do it. I have tried: use LWP::UserAgent; my $ua = LWP::UserAgent->new(env_proxy=>0, timeout=>120, keep_alive=>1, ); my $request = HTTP::Request->new('POST', $url); my $response = $ua->request($req

robot/ua-get..........FAILED tests 1-3, 5, 7

2004-03-11 Thread ALexander N. Treyner
Hello All, I tried to install a Bundle::LWP on fresh Perl 5.8.3. and got next errors : robot/rules...ok robot/ua-get..ok 8/8HTTP Server terminated robot/ua-get..FAILED tests 1-3, 5, 7 Failed 5/8 tests, 37.50% okay robot/ua..NOK 7HTTP Server terminated rob

Re: threads

2004-03-11 Thread Dave Mitchell
On Wed, Mar 10, 2004 at 08:44:56PM +0100, allan juul wrote: > hi > > i have a problem while trying to build a spider using perl threads. > Consider the program below which is just an example to get going. > i wish to hit a certain site's frontpage for any number of times (for > example 300) > i im