RE: Net::NNTP inconsistent article retrieval

2012-08-12 Thread Chris Knipe
t: 12 August 2012 10:26 To: 'Paul Anderson' Cc: beginners@perl.org Subject: RE: Net::NNTP inconsistent article retrieval Hi Paul, I think I've narrowed the issue to Net::Cmd itself (read_untill_dot() used by Net::SNMP). Even if we completely forget about writing the file to disk:

RE: Net::NNTP inconsistent article retrieval

2012-08-12 Thread Chris Knipe
> > -- > Chris. > > > > -Original Message- > From: Paul Anderson [mailto:wackyvor...@me.com] > Sent: 11 August 2012 18:17 > To: Chris Knipe > Cc: beginners@perl.org > Subject: Re: Net::NNTP inconsistent article retrieval > > Umm... Are you aw

Re: Net::NNTP inconsistent article retrieval

2012-08-11 Thread Paul Anderson
n anymore as it was previously... > > I am not trying to process, alter, or extract articles in any way, I simply > want to download them, store them, and forward them... > > -- > Chris. > > > > -Original Message- > From: Paul Anderson [mailto:wac

Re: Net::NNTP inconsistent article retrieval

2012-08-11 Thread Paul Anderson
Umm... Are you aware that binary attachments on usenet aren't actually *in* binary? They're encoded in ASCII using one of a number of different methods. They're just text, until decoded on the receiving end. I recommend looking into File::Slurp and CHI. CHI basically implements the entire cach

Net::NNTP inconsistent article retrieval

2012-08-11 Thread Chris Knipe
Hi All, I'm using Net::NNTP to transfer articles from servers. My aim is to write an NNTP proxy. I obtain the article from my parent news server, write the file to disk, and serve the current, as well as future requests for that article from the local file on the disk. My results are very incon