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.