Article View: news.software.nntp
Article #35913Re: Help On NTTP
From: Phat Phork-Phed Phluffy
Date: Thu, 11 Mar 1999 00:00
Date: Thu, 11 Mar 1999 00:00
26 lines
2000 bytes
2000 bytes
>>>>> "Franchi" == Franchi Gianni <gianni.franchi@mmedia.it> writes:
Franchi> I'm developing an NTTP reader...
Franchi> Now I need to know the message size and if contain some attached files
Franchi> before to download it..
Franchi> Can someone help me?
I'm afraid there is no easy way to do this. You can obtain the number
of bytes in the article using XOVER, but you are not going to be able
to tell what is inside without downloading the article. You might be
able to tell *sometimes* by looking in the headers for MIME
information, but if the attachment is uuencoded or the MIME headers
are inconclusive, you will have to download the body to do your
parsing.
Some newsreaders try to guess about binary content by the subject
lines (for example, look for a '1/1' type of description) but this too
is not very reliable, and far from standardized =(
--
"We can't legislate against every stupid thing people will do, and yet the
temptation is there to try time and time again." --Jesse 'The Body' Ventura
New stuff: "Meowing in Cahoots with the Vulis"
<URL:http://www.mp3.com/music/Alternative/8446.html> (fake addy for d/l okay)
Technical Details
Message-ID:
<87d82ghutd.fsf@meowhost.meow.invalid>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!not-for-mailReferences:
<7c8luc$f31$1@nslave1.tin.it>Show Full Headers
Complete Article Headers
Message-ID: <87d82ghutd.fsf@meowhost.meow.invalid> Subject: Re: Help On NTTP Date: Thu, 11 Mar 1999 00:00:00 +0000 From: Phat Phork-Phed Phluffy <hipQrimE@myremarQ.coM> References: <7c8luc$f31$1@nslave1.tin.it> 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!not-for-mail X-Deja-AN: 453835899 Sender: fluffy@meowhost.meow.invalid Mail-Copies-To: never X-Notice: should be reported to postmaster@ibm.net X-Complaints-To: postmaster@ibm.net X-Trace: 11 Mar 1999 16:09:42 GMT, 129.37.99.173 Organization: If one may meow, all may meow. X-Attribution: Mw Cancel-Lock: sha1:3S7cDu4cE8hnzn2sHwn0D7OI+9s= Newsgroups: news.software.nntp