Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use LWP::UserAgent; my $url = 'ftp://anonymous:anon@ftp.someserver.com/pub/100mb.file'; my $ua = LWP::UserAgent->new(); $ua->agent("$0/.01 ".$ua->agent); open (READER, "100mb.file") or die "Can't read: $!\n"; my $req = HTTP::Request->new('PUT', "$url", undef, <READER>); my $result = $ua->request($req);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reducing LWP Buffering
by Roger (Parson) on Dec 05, 2003 at 00:04 UTC | |
|
Re: Reducing LWP Buffering
by Anonymous Monk on Dec 05, 2003 at 00:06 UTC | |
|
Re: Reducing LWP Buffering
by Anonymous Monk on Dec 05, 2003 at 12:56 UTC | |
by Corion (Patriarch) on Dec 05, 2003 at 12:59 UTC | |
by Anonymous Monk on Dec 05, 2003 at 13:02 UTC | |
by Anonymous Monk on Dec 05, 2003 at 14:01 UTC | |
by Corion (Patriarch) on Dec 05, 2003 at 14:08 UTC | |
by Anonymous Monk on Dec 05, 2003 at 14:22 UTC | |
by Anonymous Monk on Dec 05, 2003 at 14:29 UTC | |
by Anonymous Monk on Dec 05, 2003 at 13:03 UTC |