Re: Start importing messages from asigned date [message #6920 is a reply to message #6917] |
Mon, 28 October 2002 18:02 |
Ilia
Messages: 13241 Registered: January 2002
Karma:
|
Senior Member Administrator Core Developer |
|
|
The lock file is and always be 0 bytes, it is used for something else entirely, primarily to prevent more then 1 nntp import script running on the same newsgroup.
The other file should contain just the number from which to start importing, no new lines or anything like that, just a number.
To get this number you must follow a VERY basic procedure:
telnet news_server 119
GROUP your_news_group
The response will look something like this:
211 2001 6063 8089 your_news_group
211 - Return Code
2001 - # number of messages
6063 - 1st message id
8089 - last message id
I think it should be pretty obvious what you need to do from this point on...
FUDforum Core Developer
|
|
|