Properly handling built-up .npr's

Post Reply
Multi Threader
Posts: 3
Joined: Mon Jan 26, 2004 5:28 am

Properly handling built-up .npr's

Post by Multi Threader »

I found an effective-enough way for dealing with built-up .npr files here on the forums. It's still lacking in three important ways. Here's what I currently do:

First, how the files build up in the first place:
I have set automatic watches / downloads for several groups. When NewsPro encounters a parial message, it goes ahead and saves the part it found to a .npr file. Hopefully in the next few hours the guy finishes uploading the rest of the parts of the file to the server and thus I'm able to download the rest and complete the .npr file on my hard drive.

Problem 1:
When NewsPro completes a partial .npr file on disk, it doesn't queue it for autosaving. Also, Tasks -> Autosave -> Scan Autosave Tasks Now doesn't notice the completed .npr's.

Partial Solution to Problem 1:
I create a window using a global filter set to extract all messages that are with bodies. This notices all the .npr's that have built up and lists them in one window. I then select all of them, right click, and select Save Attachments and then a folder to save all the files to. This saves all those built-up .npr's into the folder and deletes the .npr's.

Problem 2:
Automatic watch allows you to assign a seperate save folder for each newsgroup/filter. The global save solution piles all the files up into one folder, which makes for quite a mess.

Problem 3:
About 2% of the messages that are with bodies are actually still partial messages. So obviously when I forcibly save them (and thus delete the incomplete .npr) I lose the message and end up with a corrupt file in my save folder.

So what I ask is:
Problem 3 probably has an easy solution: some way to eliminate from a list of articles the ones that have partial bodies and just leave them there to give them more time to complete. What is the best / canonical way of doing this?

I'd also like a solution to problem 2. How can I properly use NewsPro so that when I tell it to save built-up completed .npr's it still saves them to the folder they were originally destined for?

However, A solution to problem 1 would of course be the best. How can I properly use NewsPro such that when it completes a previously-partial .npr file it immediately and automatically queues it up for autosave in the proper folder? Proper autosaving happens when an attachment is complete to begin with, so why doesn't it happen when an attachment takes a few hours to complete or even seperate sessions of NewsPro?

Thanks so much for any help you can provide ya'll. And cudos to Alex for making more-or-less the most sophisticaed and professional piece of software I've ever seen. Keep on coding! 8)
- JP
alex
Posts: 4553
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

I'll try to address all issues mentioned but if I miss something ask me again.

1. .npr files are irrelevant, it is just the way how currently newspro keeps some article bodies, but there is no need at all to mention them, it is enough to talk about messages with/without bodies.

2. autosave marks for download[/save] only (in the moment) when a partial is complete. it also won't save incompletes automatically (even when saving manually if you didn't check "properties->general, don't show partial reassembly problems" it will warn before saving incompletes).

3. in properties->general, saving attachments you can make newspro to ask whether to delete, in such a way when saving manually you can save attachments without deleting bodies/headers (you can mark them read instead, check the corresponding check box in 'saving attachments' area).

4. in properties->newsgroups if you check corresponding 'ask' (in fact it is default) newspro will ask where to save a batch, thus when you save manually you can save selected attachments to different folders.

maybe it would be better not to delete headers/bodies of incompletes even when saving manually? - there was another similar question recently.
Post Reply