Article View: news.software.nntp
Article #55384nntpget comand
From: Anand Vidhani
Date: Wed, 28 Nov 2001 09:52
Date: Wed, 28 Nov 2001 09:52
54 lines
3173 bytes
3173 bytes
Hello I want to transfer(download) messages from remote server to local computer. For this i am using nntpget command as mentioned in this website.(contents I have copied here.) but the problem is some messages are rejected when I download. any suggestion. http://www.aplawrence.com/Unixart/newsserver.html Thanks Anand -------------------------------------------------------------------------------- Now get in touch with your ISP news administrator and ask him/her if your machine (demo.strhold.it) is allowed to connect with the remote news server (basically, the ISP has to insert your machine name in its nnrp.access file); also, ask if the remote server does allow the use of the newnews command. This is a particular NNTP extension which allows the news client to pick a specific group and to download articles which have been posted after a specific date; I know that most servers DO NOT have this extension enabled due to security reason so you have to ask before proceeding. If the ISP administrator tells you that you can safely use the newnews command, then you can use the nntpget binary to retrieve the articles related to the it.test group (or whichever group you did choose); as previously stated, the newnews command allows you to retrieve articles which have been posted after a specific date. nntpget will use the modification time of a locally created file in order to drive the download so it's time to create that file. Bring the machine down to single sure mode (just in case) and use asktime to bring the date back in the past (suppose now it's 01/10/1999; you can direct asktime to set the system date to 01/01/1999); once returned to the shell promtp, create the file as follows: touch /tmp/it.test (change the file name accordingly to the group chosen) Next, use asktime to set the correct date back and bring the system to multi user mode; once your connection to the ISP is activated (you should be able to ping it or telnet it to port 119) issue the following command: nntpget -o -v -u /tmp/it.test -n it.test bbs.strhold.it (change bbs.strhold.it with the name of your remote ISP news server) You should see the list of retrieved articles depicted on the screen (-v flag). --------------------------------------------------------------------------------
Technical Details
Message-ID:
<463197c6.0111280152.515e0906@posting.google.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <463197c6.0111280152.515e0906@posting.google.com> Subject: nntpget comand Date: Wed, 28 Nov 2001 09:52:39 +0000 From: avidhani@ggn.aithent.com (Anand Vidhani) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!postnews1.google.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com/ Lines: 53 NNTP-Posting-Host: 203.122.29.72 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1006941159 552 127.0.0.1 (28 Nov 2001 09:52:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 28 Nov 2001 09:52:39 GMT