Thread View: news.software.nntp
9 messages
9 total messages
Started by jecheney
Mon, 02 Apr 2007 00:35
NNTP Protocol Question
Author: jecheney
Date: Mon, 02 Apr 2007 00:35
Date: Mon, 02 Apr 2007 00:35
10 lines
1522 bytes
1522 bytes
Hi, How do nntp clients calculate a posts size? as far as i can tell from the RFC there is nothing in the headers, and only some compression i.e yenc puts the size in the first line of the body. Alot of readers calculate the size of even raw text posts? How is this done without downloading the entire message? Thanks
Re: NNTP Protocol Question
Author: Russ Allbery
Date: Mon, 02 Apr 2007 01:04
Date: Mon, 02 Apr 2007 01:04
15 lines
1669 bytes
1669 bytes
jecheney <jecheney@gmail.com> writes:
> How do nntp clients calculate a posts size? as far as i can tell from
> the RFC there is nothing in the headers, and only some compression i.e
> yenc puts the size in the first line of the body. Alot of readers
> calculate the size of even raw text posts? How is this done without
> downloading the entire message?
The post size is included in the overview information.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: NNTP Protocol Question
Author: jecheney
Date: Mon, 02 Apr 2007 01:50
Date: Mon, 02 Apr 2007 01:50
29 lines
2206 bytes
2206 bytes
Thanks, am i correct in thinking that is the the xover command? Given the following example which detail is the message size? xover 3096359 224 data follows 3096359 Batch 6.pdf.064 (065/116) yEnc (2/3) Tree@hugger.net (Tree) 01 Apr 2 007 22:39:18 GMT <*****host...> 1321051 10159 Xref: dartmaster alt.binaries.test.yenc:3096359 The first and second lines are both clear, but is the size '1321051' bytes? Or is that another id number? Thanks, Jack On 2 Apr, 01:35, jeche...@gmail.com wrote: > Hi, > > How do nntp clients calculate a posts size? as far as i can tell from > the RFC there is nothing in the headers, and only some compression i.e > yenc puts the size in the first line of the body. Alot of readers > calculate the size of even raw text posts? How is this done without > downloading the entire message? > > Thanks
Re: NNTP Protocol Question
Author: Russ Allbery
Date: Mon, 02 Apr 2007 01:58
Date: Mon, 02 Apr 2007 01:58
28 lines
2113 bytes
2113 bytes
jecheney <jecheney@gmail.com> writes:
> Thanks, am i correct in thinking that is the the xover command? Given
> the following example which detail is the message size?
> xover 3096359
> 224 data follows
> 3096359 Batch 6.pdf.064 (065/116) yEnc (2/3) Tree@hugger.net
> (Tree) 01 Apr 2
> 007 22:39:18 GMT <*****host...>
> 1321051 10159 Xref: dartmaster alt.binaries.test.yenc:3096359
> The first and second lines are both clear, but is the size '1321051'
> bytes? Or is that another id number?
Correct, the size is 1231051 bytes. The number after that is the lines.
You can see what all the fields are with the command:
list overview.fmt
Note that this is the size of the encoded post and won't match the size
after any encoding has been undone.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: NNTP Protocol Question
Author: jecheney
Date: Mon, 02 Apr 2007 11:10
Date: Mon, 02 Apr 2007 11:10
48 lines
3183 bytes
3183 bytes
Thanks again for the help, but i still have a problem with the size. Given the example: over 3096313 224 data follows 3096313 Batch 6.pdf.049 (050/116) yEnc (1/3) Tree@hugger.net (Tree) 01 Apr 2007 22:19:08 GMT <46102fbb $0$2233$450c70f1@news.privacy.li> 1321135 10160 Xref: dartmaster alt.binaries.test.yenc:3096313 It gives the size as 1321135 bytes, 1.25 Mb, however several of the clients ive used report the same message id to be 2954kb. If i download the message in raw format (no decoding) i again get a size over 2Mb. What is the discrepency here? Am i missing something very obvious :s Thanks, Jack On 2 Apr, 02:58, Russ Allbery <r...@stanford.edu> wrote: > jecheney <jeche...@gmail.com> writes: > > Thanks, am i correct in thinking that is the the xover command? Given > > the following example which detail is the message size? > > xover 3096359 > > 224 data follows > > 3096359 Batch 6.pdf.064 (065/116) yEnc (2/3) T...@hugger.net > > (Tree) 01 Apr 2 > > 007 22:39:18 GMT <*****host...> > > 1321051 10159 Xref: dartmaster alt.binaries.test.yenc:3096359 > > The first and second lines are both clear, but is the size '1321051' > > bytes? Or is that another id number? > > Correct, the size is 1231051 bytes. The number after that is the lines. > You can see what all the fields are with the command: > > list overview.fmt > > Note that this is the size of the encoded post and won't match the size > after any encoding has been undone. > > -- > Russ Allbery (r...@stanford.edu) <http://www.eyrie.org/~eagle/> > > Please post questions rather than mailing me directly. > <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: NNTP Protocol Question
Author: jecheney
Date: Mon, 02 Apr 2007 11:15
Date: Mon, 02 Apr 2007 11:15
52 lines
3458 bytes
3458 bytes
Woops! i just noticed its a 3 part message and the combined size is > 2mb :) On 2 Apr, 12:10, jeche...@gmail.com wrote: > Thanks again for the help, but i still have a problem with the size. > Given the example: > > over 3096313 > 224 data follows > 3096313 Batch 6.pdf.049 (050/116) yEnc (1/3) T...@hugger.net > (Tree) 01 Apr 2007 22:19:08 GMT <46102fbb > $0$2233$450c7...@news.privacy.li> 1321135 10160 Xref: > dartmaster alt.binaries.test.yenc:3096313 > > It gives the size as 1321135 bytes, 1.25 Mb, however several of the > clients ive used report the same message id to be 2954kb. If i > download the message in raw format (no decoding) i again get a size > over 2Mb. What is the discrepency here? Am i missing something very > obvious :s > > Thanks, > Jack > > On 2 Apr, 02:58, Russ Allbery <r...@stanford.edu> wrote: > > > jecheney <jeche...@gmail.com> writes: > > > Thanks, am i correct in thinking that is the the xover command? Given > > > the following example which detail is the message size? > > > xover 3096359 > > > 224 data follows > > > 3096359 Batch 6.pdf.064 (065/116) yEnc (2/3) T...@hugger.net > > > (Tree) 01 Apr 2 > > > 007 22:39:18 GMT <*****host...> > > > 1321051 10159 Xref: dartmaster alt.binaries.test.yenc:3096359 > > > The first and second lines are both clear, but is the size '1321051' > > > bytes? Or is that another id number? > > > Correct, the size is 1231051 bytes. The number after that is the lines. > > You can see what all the fields are with the command: > > > list overview.fmt > > > Note that this is the size of the encoded post and won't match the size > > after any encoding has been undone. > > > -- > > Russ Allbery (r...@stanford.edu) <http://www.eyrie.org/~eagle/> > > > Please post questions rather than mailing me directly. > > <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: NNTP Protocol Question
Author: jecheney
Date: Mon, 02 Apr 2007 11:20
Date: Mon, 02 Apr 2007 11:20
3 lines
1668 bytes
1668 bytes
On a related note, how do clients identify multipart binarys? Im guessing they dont rely on the post subject for the number of parts?
Re: NNTP Protocol Question
Author: Francois Petillon
Date: Mon, 02 Apr 2007 14:28
Date: Mon, 02 Apr 2007 14:28
9 lines
1664 bytes
1664 bytes
On Mon, 02 Apr 2007 04:20:59 -0700, jecheney wrote: > On a related note, how do clients identify multipart binarys? Im > guessing they dont rely on the post subject for the number of parts? They do... François
Re: NNTP Protocol Question
Author: Bill Cole
Date: Mon, 02 Apr 2007 15:01
Date: Mon, 02 Apr 2007 15:01
19 lines
2128 bytes
2128 bytes
In article <1175512859.365555.215230@y66g2000hsf.googlegroups.com>, jecheney@gmail.com wrote: > On a related note, how do clients identify multipart binarys? Im > guessing they dont rely on the post subject for the number of parts? You are guessing wrong. Multi-part binary posting is a user adaptation to the facts that news was not designed as a transport for large binaries and that many sites prefer to not participate in the repurposing of news to that end. There is no truly reliable way to identify and assemble multi-part binaries unless you arbitrarily decree some fairly common posting behaviors to be "wrong." If you put enough thought into the problem, you can probably identify and correctly order multi-parts 90% of the time or more. -- Now where did I hide that website...
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