ED]>
Sent: Thursday, March 11, 2004 3:56 PM
Subject: Re: Using the post method for downloading a file
> 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
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
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