Thread View: news.software.nntp
7 messages
7 total messages
Started by t.h.i.s.n.t.h.a.t DS
Wed, 09 Oct 2002 16:56
Custom Client Software
Author: t.h.i.s.n.t.h.a.t DS
Date: Wed, 09 Oct 2002 16:56
Date: Wed, 09 Oct 2002 16:56
29 lines
1987 bytes
1987 bytes
Hi, I am writing a newsreader app. Also, I am connecting to another news server thru telnet and sending commands manually to see responses codes and data. In doing this, when doing an XOVER command to retreive a groups header's in a stream , OR by getting that info for a specific article via the HEAD command, I can not see a way, by the info returned, to be able to detect if that article has an attachment, or part of a multi-part binary file, or just a plain text message. I have spent many hours searching for information on this one thing and haven't found anything useful. I have noticed some article headers may have the word 'binary' contained within, but this seems to be added by the posting program. I that correct? I know this has to be spec'd out somewhere, deep within an RFC spec maybe. I have read over many of these. (but don't ask me to quote from them or be able to name any one other than RFC977 :) ) I'm not asking anyone to tell me exactly how, but any thoughts on where I could find the information on this. Any help would be appreciated. DS
Re: Custom Client Software
Author: Jeremy
Date: Wed, 09 Oct 2002 18:51
Date: Wed, 09 Oct 2002 18:51
21 lines
1745 bytes
1745 bytes
DS <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t> wrote: > Also, I am connecting to another news server thru telnet and sending > commands manually to see responses codes and data. In doing this, when > doing an XOVER command to retreive a groups header's in a stream , OR by > getting that info for a specific article via the HEAD command, I can not > see a way, by the info returned, to be able to detect if that article has > an attachment, or part of a multi-part binary file, or just a plain text > message. That is correct; unless the post is done using MIME, which basically no binaries are, you can't tell from the XOVER information or from the header that there's a binary inside, or what kind of file it is. > I know this has to be spec'd out somewhere, deep within an RFC spec maybe. Nope. It's all one kludge on top of another. -- Jeremy | jeremy@exit109.com
Re: Custom Client Software
Author: Curt Welch
Date: Wed, 09 Oct 2002 20:36
Date: Wed, 09 Oct 2002 20:36
20 lines
2002 bytes
2002 bytes
t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t (DS) wrote: > I know this has to be spec'd out somewhere, .. You would hope. But sadly, no. Read (if you have a month) the long thread under "[FNTP] 'in-completeness'" in this group. It's all about trying to fix exactly what you are dealing with. It's been talked about for many years now. You are on your own when you try to figure this stuff out. There is no spec to help you. You can't really tell a binary from a text file just like the news servers can't tell. Binary posts are text files with binary data hidden in them. You have to go hunting. The headers only give you hints about what might be inside the package, and nothing is certain. Mostly, you have to read the body of the article to figure out what really is a binary and what isn't. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Custom Client Software
Author: Curt Welch
Date: Fri, 11 Oct 2002 16:43
Date: Fri, 11 Oct 2002 16:43
15 lines
1566 bytes
1566 bytes
Bas Ruiter <lordsnow@home.nl> wrote: > btw.. "X-Binary: No" is kinda useless. May as well > leave it out if the post isn't a binary. More functional > would be: The obvious way to mark a binary is: X-No-Binary: No :) -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Custom Client Software
Author: Miquel van Smoorenburg
Date: Fri, 11 Oct 2002 17:38
Date: Fri, 11 Oct 2002 17:38
24 lines
1905 bytes
1905 bytes
In article <2jndqu45r7hu7ifvkh0gfg3l94hhh8f563@4ax.com>, Bas Ruiter <lordsnow@home.nl> wrote: >btw.. "X-Binary: No" is kinda useless. May as well >leave it out if the post isn't a binary. More functional >would be: > > "X-Binary: <encoding> <parts/total> <md5 hash> <filesize>" > >or somethign like that. You mean something new and radical like Content-Type: message/partial; number=1; total=383; id="27913.1034357826@traveler.cistron-office.nl" Content-Type: application/octet-stream; name="bash" Content-Transfer-Encoding: yenc Content-Disposition: inline; filename="bash" Content-MD5: wYDKSw++gtavWj6hh4fXdQ== oh ... wait ... Mike.
Re: Custom Client Software
Author: Bas Ruiter
Date: Fri, 11 Oct 2002 18:35
Date: Fri, 11 Oct 2002 18:35
21 lines
1586 bytes
1586 bytes
> The obvious way to mark a binary is: > > X-No-Binary: No > > :) Naaaaah... X-Text: yes Bas Ruiter -- [ l o r d s n o w @home.nl http://members.home.nl/ l o r d s n o w ] Only when the population of 50 mysteriously dropped to 7 did the remainder start to suspect Hungry.
Re: Custom Client Software
Author: Bas Ruiter
Date: Fri, 11 Oct 2002 19:33
Date: Fri, 11 Oct 2002 19:33
21 lines
1473 bytes
1473 bytes
> The obvious way to mark a binary is: > > X-No-Binary: No > > :) X-Text: No :) Bas Ruiter -- [ l o r d s n o w @home.nl http://members.home.nl/ l o r d s n o w ] Only when the population of 50 mysteriously dropped to 7 did the remainder start to suspect Hungry.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads