🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59807

simple post syntax problem

#59807
From: simon taylor
Date: Fri, 02 Aug 2002 10:58
36 lines
1891 bytes
Dear all,
Firstly thank you for reading my post - I can appreciate your very
busy !!!
My question should be quite simple... but I cannot find any help
anywhere....

I'm using the winsck.ocx control as the basis of a light weight
posting application written in vb

I can connect to our IIS/NNTP server no problem eg....

"Winsock1.Connect "server.com", 119"

and i can read postings ok....
"Winsock1.SendData "ARTICLE 1" & vbCrLf"

but when I try and post i just get a "Command not recognised"
I know there are no permissions problems...

heres what I have tried......

Winsock1.SendData "POST"
winsock1.sendData "Newsgroup: test "
Winsock1.SendData "From: me@company.com  "
Winsock1.SendData "Subject:NNTP Demo Post "
winsock1.senddata " "
Winsock1.SendData "This is an NNTP posting demonstration"
Winsock1.SendData "." & vbCrLf

also put all the above on one line with one long Winsock1.sendData
command !

What am I doing wrong any help would be much appreciated......
Thanks
simon.
Technical Details
Message-ID: <6ffb6d34.0208020258.61f087f0@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6ffb6d34.0208020258.61f087f0@posting.google.com>
Subject: simple post syntax problem
Date: Fri, 02 Aug 2002 10:58:10 +0000
From: simon.taylor@fdlearning.com (simon taylor)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 35
NNTP-Posting-Host: 195.62.203.162
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1028285890 21500 127.0.0.1 (2 Aug 2002 10:58:10 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 2 Aug 2002 10:58:10 GMT