3 innxbatch \- send xbatched Usenet articles to a remote NNTP server
22 connects to the NNTP server at the specified
24 and sends it the specified xbatch files, using the XBATCH extension to
25 the NNTP protocol. It is normally invoked by a script run out of
29 to lock the host name, followed by a
31 command to flush the batchfile.
33 Each file is removed after it has been successfully transferred.
35 If a communication error such as a
37 failure, or an unexpected reply from the remote server occurs,
39 will stop sending and leave all remaining files untouched for later retry.
46 normally blocks until the connection is made.
47 To specify a timeout on how long to try to make the connection, use
51 To specify the total amount of time that should be allowed for article
52 transfers, use the ``\-T'' flag.
54 The default is to wait until an I/O error occurs, or all the articles have
55 been transferred. If the ``\-T'' flag is used, the time is checked
56 just before each article is started; it will not abort a transfer that
62 reports transfer and CPU usage statistics via
64 If the ``\-v'' flag is used, they will also be printed on the standard
68 Use the ``\-D'' flag to print debugging information on standard error.
69 This will show the protocol transactions between
71 and the NNTP server on the remote host.
75 entry to produce appropriate xbatch files (thanks to Karsten Leipold
82 .ds R$ <pathbin in inn.conf>
84 .ds R$ <$ac_cv_path_COMPRESS in config.cache>
85 .ds P$ <pathoutgoing in inn.conf>
87 \*(P$/nase.\e$\e$)" \e
91 A sample script to invoke
97 ## SH script to send xbatches for a site, wrapped around innxbatch
99 ## sendxbatches.sh <sitename> <hostname> <xbatch file name> ...
103 echo "usage: $0 <sitename> <hostname> <xbatch file name>"
107 . <pathbin in inn.conf>/innshellvars
109 site="$1"; host="$2"; shift; shift
111 ctlinnd flush "$site" \e
113 && exec $NEWSBIN/innxbatch -v -D "$host" $*
116 Written by Stefan Petri <petri@ibr.cs.tu-bs.de>, modelled after
118 and the XBATCH patch for the nntp reference implementation.