nzb file cannot start with a space

Technical support and discussion of Newsbin Version 6 series.

nzb file cannot start with a space

Postby bcaulf » Sat Oct 20, 2012 9:09 am

I have accidentally created nzb files whose name starts with a space character, due to copy-and-paste into a web form like binsearch.info and having a space in the copied text. Binsearch returns an nzb file like " testing.nzb" and this is not accepted by NewsBin. It throws "Error - NZB File Load Failed: C:\nzb\ testing.nzb". On e.g. NewsLeecher the nzb file is handled normally without a problem. So I would say this is a bug; maybe somewhere Newsbin is trimming off the leading space and then it fails to load the file because it has the wrong name. Thoughts?
bcaulf
n00b
n00b
 
Posts: 3
Joined: Mon Oct 18, 2004 2:33 am

Re: nzb file cannot start with a space

Postby Quade » Sat Oct 20, 2012 10:04 am

Thanks.

Yeah, it's probably cleaning up the filename before use. Space at the end is illegal, I must have assumed one at the beginning is illegal too.

I added a note to my todo to look at this.
Last edited by Quade on Sat Oct 20, 2012 2:50 pm, edited 1 time in total.
Reason: Spelling
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44951
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: nzb file cannot start with a space

Postby bcaulf » Sat Oct 20, 2012 2:31 pm

Bug report followed by the developer confirming and adding it to the todo list within a day. This is one reason why I love your software.
bcaulf
n00b
n00b
 
Posts: 3
Joined: Mon Oct 18, 2004 2:33 am


Return to V6 Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests