Article View: news.software.nntp
Article #59811Re: simple post syntax problem
From: Greg Andrews
Date: Fri, 02 Aug 2002 23:46
Date: Fri, 02 Aug 2002 23:46
31 lines
1965 bytes
1965 bytes
simon.taylor@fdlearning.com (simon taylor) writes:
>
>Winsock1.SendData "POST"
>
Aren't you supposed to send the POST command, followed by
a CR and LF, then read the server's reply before you
start sending the article?
>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
Does this indicate that the line "Newsgroup: test " did not
and in a CR and LF? That the only CR and LF appeared at the
end of the "." line?
If I understand the above correctly, then you're sending your
entire article as a single line rather than multiple lines.
That would be a problem. Articles are transmitted as multiple
lines rather than just one.
-Greg
--
::::::::::::: Greg Andrews ::::: gerg@panix.com :::::::::::::
I have a map of the United States that's actual size.
-- Steven Wright
Technical Details
Message-ID:
<aif5js$qab$1@reader2.panix.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!bloom-beacon.mit.edu!panix!not-for-mailReferences:
<6ffb6d34.0208020258.61f087f0@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <aif5js$qab$1@reader2.panix.com> Subject: Re: simple post syntax problem Date: Fri, 02 Aug 2002 23:46:04 +0000 From: gerg@panix.com (Greg Andrews) References: <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!bloom-beacon.mit.edu!panix!not-for-mail Newsgroups: news.software.nntp Organization: I have a map of the United States that's actual size Lines: 30 NNTP-Posting-Host: panix2.panix.com X-Trace: reader2.panix.com 1028331964 26955 166.84.1.2 (2 Aug 2002 23:46:04 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Fri, 2 Aug 2002 23:46:04 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: gerg@panix.com (Greg Andrews)