Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: sending a large file via http

by Joost (Canon)
on Jun 18, 2007 at 21:41 UTC ( [id://621872]=note: print w/replies, xml ) Need Help??


in reply to sending a large file via http

A quick scan of the docs for LWP and HTTP::Message didn't turn up anything useful. You may need some other tool to stream large files. wget has a --post-file option that looks like it might work better, but I haven't tried it myself.

Replies are listed 'Best First'.
Re^2: sending a large file via http
by Util (Priest) on Jun 19, 2007 at 00:02 UTC
    Similar to `wget`, cURL is an efficient C executable with options for POST upload via both content types application/x-www-form-urlencoded and multipart/form-data, and also supports HTTP compression. You can build a command line for system(), or use the libcurl's Perl interface module WWW::Curl. Available for Linux and Win32, and pre-installed on OS X. I use cURL every day!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://621872]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-19 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found