Hi guys,
I'm trying to design a program that will parse an NZB file and download the corresponding binary from Usenet, but I'm having trouble figuring out what the best way to approach this would be.
I've looked around and there doesn't seem to be any kind of nntp library for Purebasic (a search for 'nntp' didn't turn up much). I looked into using an external command-line utility, but my only option was nget and incredibly that can't grab specific MessageIDs which is required when parsing an NZB file.
Anyone know what the proper course of action might be here? Is there a Windows API that might have NNTP functionality? etc.
Downloading from Usenet via NZB files / nntp library?
http://en.wikipedia.org/wiki/Nntp
And Wikipedia just teached me something new...again. *laughs*
And Wikipedia just teached me something new...again. *laughs*
O.oThe IMAP protocol can also be used for reading newsgroups.
Why? The NNTP Commands are such simple.Is there a Windows API that might have NNTP functionality? etc.
(1) Open a Network Connection to your NNTP Server
(2) Authenticate yourself (User / Pass)
(3) Request Posting with Message-ID <xyz@something>
(4) Receive Posting
(5) Decode
I think the most complicated part ist 5 (Decoding), because you had to develope yENC decoding. The www.yenc.org Homepage is currently not aviable
