Re: Can't POST

[email protected] (Sascha Lüdecke)
Newsgroups gmane.network.sn
Organization @ home
Message-ID <[email protected]>
"Eric Jain" <[email protected]> writes:

Heya Eric!

This seems to be a common problem (last asked about 5 weeks ago and I
had it as well).  Let me quote:


|| At 03:26 AM 5/9/02 +0300, you wrote:
|| >Support <support@SNIPPED> wrote:
|| >> When I attempt to post using sn, I get the following.  Any ideas?
|| >> 
|| >> 
|| >> May  8 16:10:21 YesICan in.identd[4221]: reply to 192.168.1.1: 4488 , 119 :
|| >> USERID : UNIX :root
|| >> May  8 16:10:21 YesICan snntpd[4220]: connect from [email protected]
|| >> May  8 16:10:24 YesICan logger: Usage: POST [-options] <url>...
|| >> May  8 16:10:24 YesICan logger:     -m <method>   use method for the request
|| >[snip]
|| >
|| >You're running the wrong POST. Make sure that sn's directory comes first in
|| >the $PATH. (The POST that prints the above is from libwww-perl, I believe.)
|| >
|| >-- 
|| >  Patrik Rådman  ·  patrik at iki dot fi  ·  http://www.iki.fi/patrik/
|| >                     "Now, where was I?"
|| 
|| RIGHT ON!  There was a perl POST in /usr/bin that ran because it was the
|| first POST in the path.  (it is now POST.pl and I'll never miss it <G>.)
|| 
|| Very asutute.  Thanks a lot!
|| John

Another solution is to adjust do_post ind post.c and hardcode the path
to your POST there.

Kind regards,
Sascha

-- 
A pessimist sees the difficulty in every opportunity; an optimist sees
the opportunity in every difficulty.
-Sir Winston Churchill-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.