Page 2 of 4

Re: test nzb before download

Posted: April 12th, 2011, 12:13 pm
by sander
warthog wrote: Regarding phyber's patch, I have some familiarity with python, but I'm now a little lost. Is there a way to apply the patch drectly with python or some other utility in a *nix environment or does the code need to be added manually to the script from sander?
You need the 'patch' command. Available on Linux, probably Mac, I don't know Windows.

See http://linux.die.net/man/1/patch

Re: test nzb before download

Posted: April 19th, 2011, 3:10 am
by duerra
Hey sander - do you still have this script around?  I'd really be interested in trying it out.  I may also be able to take a look at the locking issue you were experiencing if that's still an issue.  Thanks :)

Re: test nzb before download

Posted: April 19th, 2011, 3:54 am
by sander
duerra wrote: Hey sander - do you still have this script around?  I'd really be interested in trying it out.  I may also be able to take a look at the locking issue you were experiencing if that's still an issue.  Thanks :)
Yes, it's still on http://www.appelboor.com/sander/nzb-checker-threaded.py (I had to restart the webserver)

Re: test nzb before download

Posted: April 29th, 2011, 7:29 am
by Comfun
Hello, I have been looking for something like this since few months.
Is that possible to get the httpd / download link available again please ?

I'm planning to use it to verify the completness of my posts and automatcly repost losts parts during upload ( thanks to astraweb servers^^ ).

Re: test nzb before download

Posted: April 29th, 2011, 2:00 pm
by sander
Comfun wrote: Hello, I have been looking for something like this since few months.
Is that possible to get the httpd / download link available again please ?

I'm planning to use it to verify the completness of my posts and automatcly repost losts parts during upload ( thanks to astraweb servers^^ ).
It's up again.

Re: test nzb before download

Posted: April 29th, 2011, 6:50 pm
by Comfun
Thanks you very much it works like a charm.

Re: test nzb before download

Posted: April 30th, 2011, 1:55 am
by sander
Comfun wrote: Thanks you very much it works like a charm.

You mean the script? What are your speed results? Check a full DVD in one minute?

Re: test nzb before download

Posted: April 30th, 2011, 8:25 am
by Comfun
I didn't checked a DvD yet , most of the files I check are around 450 MiB size and sometimes around 3GiB.
The speed is enough with 10 ports.
I would say around 1/2min for a 3GiB post size.

And a few seconds for 250/450 MiB.

I'm using it mainly for check parts completeness on usenet server 5min after the post had been sent, so my script can repost if the newserver had some problem and have too many incomplete.

The idea would be to repost only the incomplete part and not the whole stuff, but I will look into that later.


I only encoutered a small problem 1 time on 50 try, the script blocked during the execution without any error on the log file used as outpout of the command.

Re: test nzb before download

Posted: May 29th, 2011, 4:54 pm
by duerra
Thank you sir :)

Re: test nzb before download

Posted: June 22nd, 2011, 11:42 am
by pobox
Servers reselling 'Readnews' often return inaccurate responses to the STAT command.

- Sending STAT if GROUP is not sent first - '412 Not in a newsgroup'.
- Nonsensical responses - '501 newsgroup'.
- Inaccurate responses - '430 No such article' but the article can be retrieved.
- Delayed responses - '223 0 status' after client waits 30 seconds or more.

Re: test nzb before download

Posted: June 22nd, 2011, 2:56 pm
by sander
pobox wrote: Servers reselling 'Readnews' often return inaccurate responses to the STAT command.

- Sending STAT if GROUP is not sent first - '412 Not in a newsgroup'.
- Nonsensical responses - '501 newsgroup'.
- Inaccurate responses - '430 No such article' but the article can be retrieved.
- Delayed responses - '223 0 status' after client waits 30 seconds or more.
Did you use my script with such a Readnews-server? Reason why I ask: my script does send a GROUP command first, so before the STAT command.

If STAT does not work, does HEAD work?

Re: test nzb before download

Posted: June 22nd, 2011, 6:00 pm
by pobox
No I didn't use the script, I used standalone programs and telnet.

HEAD works better than STAT but all commands with msg-id for old articles are too slow on some Readnews servers.

Do you have access to a Readnews server?  Some are slower for STAT, HEAD, BODY, ARTICLE, and more broken for STAT than others.

One standalone program allows 10 threads but I'm dying waiting for it to finish checking.

Re: test nzb before download

Posted: June 23rd, 2011, 5:42 am
by sander
Can you use my script and report back what the result is?

Re: test nzb before download

Posted: June 25th, 2011, 9:15 pm
by krackt
The script doesn't work for me when using my news server us.thundernews.com. It returns a login error and I'm positive that the login details are correct.

Also cannot get a successful login using netcat but have no problem using Sab to login... strange.

Do you have any suggestions on how to debug this further?

Script output:

Code: Select all

Wait until threads are done checking all articles, which can take a few minutes ...
NNTP base connection OK

trying to logon ...
command is: authinfo user tnxxxxxxxx NNTP base connection OK
trying to logon ...command is: authinfo user tnxxxxxxxx response on command: 
time-out talking to NNTP server, waiting for reaction, or something else wrong with reaction
command is: authinfo pass xxxxxxxxxx response on command: 
time-out talking to NNTP server, waiting for reaction, or something else wrong with reaction
command is: group alt.binaries.test response on command: 
time-out talking to NNTP server, waiting for reaction, or something else wrong with reaction
command is: group alt.binaries.test response on command: 
time-out talking to NNTP server, waiting for reaction, or something else wrong with reaction
Error, NNTP connection is not working. Username/Password needed or incorrect?

Re: test nzb before download

Posted: June 25th, 2011, 11:22 pm
by sander
@krackt:

first make sure you can logon using netcat.

seconde, can you post the full input and output of the command, including the line invoking the script?