2

I asked Google several times without answer. So, I decide to ask you my question.

How can I send (post) a binary file to a newsgroup server using Java ?

Lambdacrash
  • 201
  • 2
  • 10

1 Answers1

3

This work has ben done by the authors of Apache Commons Net which supports the nntp protocol.

A quick view of the nntp class is provided here

stacker
  • 68,052
  • 28
  • 140
  • 210
  • Apache code is awful for this libray, the [GNU](http://www.gnu.org/software/classpathx/javamail/) variant is miles cleaner and easier to use. Works fine. The only caveat is that GNU doesn't distribute JAR's, so you may need to either build yourself or use apt-get or similar package manager. The developer answers e-mails and is quite helpful. – Thufir May 05 '12 at 08:38