Article View: news.software.readers
Article #81865Re: Xnews: default dl folder for each group
From: Ross Presser
Date: Mon, 23 Jul 2001 19:44
Date: Mon, 23 Jul 2001 19:44
39 lines
2737 bytes
2737 bytes
marti@mainews.com.invalid (GM) wrote: > [sounds] <=== this refers to all groups with "sounds" in their names > DecodeDir=C:\Files\Downloads\Mp3 > AttachDir=C:\Files\Downloads\Mp3 Incidentally, this will also match any *folders* (archive or queue) that have "sounds" in their names. > Xnews cannot and should not create directories for different types > of attachments. First of all, it cannot say what, if any, type of > attachment is included with a message. Well, it can make the decision either when it parses the Content-type MIME header, or as soon as it knows the filename. > Second, if it waited to save the attachment and put it in a > directory after it was completely dl'ed, it would have to keep it > in memory during downloading. This is an unnecessary strain on > system resources. It actually does this, sort of. If you load the body of a message which contains an attachment, you see "[Attachment decoded]" in the body pane. But you don't need to wait to start writing the file ... you can just write it to downloads, and move (rename) when finished. Assuming it's the same drive, of course. Even better, you don't need to wait to start writing the file at all. You read the first block of the message and keep it in memory; determine the filename, and decide the directory to save; open the file and write out the block; then continue reading and writing. -- Ross Presser * ross_presser@imtek.com "Back stabbing is a sport best played by those that can't stand face to face with their opponent." - Danny Taddei
Technical Details
Message-ID:
<Xns90E7A01521A61pt101594@209.155.56.94>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!headwall.stanford.edu!news-out.nibble.net!news-in.nibble.net!newsfeed.direct.ca!look.ca!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1References:
<Xns90E6C565A601Ahockeynight@24.2.9.58> <Xns90E71BC95E198SG2ALA3GS@64.152.100.91> <tlocqq4ghi5e80@corp.supernews.com> <Xns90E795EC38A73SG2ALA3GS@64.152.100.91>Show Full Headers
Complete Article Headers
Message-ID: <Xns90E7A01521A61pt101594@209.155.56.94>
Subject: Re: Xnews: default dl folder for each group
Date: Mon, 23 Jul 2001 19:44:23 +0000
From: Ross Presser <rpresser@NOSPAMimtek.com.invalid>
References: <Xns90E6C565A601Ahockeynight@24.2.9.58> <Xns90E71BC95E198SG2ALA3GS@64.152.100.91> <tlocqq4ghi5e80@corp.supernews.com> <Xns90E795EC38A73SG2ALA3GS@64.152.100.91>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!headwall.stanford.edu!news-out.nibble.net!news-in.nibble.net!newsfeed.direct.ca!look.ca!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1
Newsgroups: news.software.readers
Organization: Imtek, Inc.
Lines: 38
NNTP-Posting-Host: p-292.newsdawg.com
User-Agent: Xnews/4.06.22
X-Face: xBlnt6PR!?8>k{*E>#j"+KH%0Cg0MY_1lk[}GGX.jZ_6_yg0}Ac^gS'QD[/y]bIo*F;ET=Rf-9tYImu#SGGa}Gjw#?p7-R$4?RbVB%xZ(5Q<`oio!\R_"GrO{vu8Q>Na<BSb:h"6PJl.{EiCA;Pl<fY`Q^2\xLr=CO$byL-O/!7WMswc@h&^/8H!m