FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Newsgroup import
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Start importing messages from asigned date [message #6920 is a reply to message #6917] Mon, 28 October 2002 18:02 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Display of Usergroup
Next Topic: NNTP.PHP without PHP-binary
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 16:27:36 GMT 2024

Total time taken to generate the page: 0.04182 seconds