Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Posting a file from command line

by TOD (Friar)
on Nov 01, 2007 at 01:12 UTC ( [id://648414]=note: print w/replies, xml ) Need Help??


in reply to Posting a file from command line

if you have the LWP module(s) installed you will find a POST executable located at /usr/bin, together with a manpage.
perl -MCPAN -e 'install LWP'
--------------------------------
masses are the opiate for religion.

Replies are listed 'Best First'.
Re^2: Posting a file from command line
by Fletch (Bishop) on Nov 01, 2007 at 14:44 UTC

    Probably, unless the machine in question uses a case insensitive filesystem (one of OS X's remaining big warts) and a paranoid admin didn't install the POST et al aliases because they didn't want /usr/bin/head clobbered by HEAD. However you should have lwp-request which is the same script but it uses -m method to determine what method to use rather than the name it is called as.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found