🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by fgabriel Big Guy Thu, 03 Feb 2000 00:00
Saving attachments with Xnews
#57690
Author: fgabriel Big Guy
Date: Thu, 03 Feb 2000 00:00
17 lines
1230 bytes
When saving attachments with Xnews, is there a way to make Xnews rename the 
attachment's filename if the filename already exists in the download 
directory?

At present, existing files in the directory are being overwritten or 
replaced with the new file if they both have the same filename. This is not 
a problem when both files are identical; however, in some cases, they are 
different and the original file is lost forever.

I would greatly appreciate any advice concerning this matter.

TIA!

 
 

Re: Saving attachments with Xnews
#57684
Author: Ross Presser
Date: Thu, 03 Feb 2000 00:00
24 lines
1392 bytes
alt.distinguished.fgabriel@ (BigGuy).wrote.posted.offered:

>When saving attachments with Xnews, is there a way to make Xnews
>rename the attachment's filename if the filename already exists in
>the download directory?

From changes.txt:

   AutoCollapse=0
   ; batch decoding handling option; 1=overwrite existing file, 
   ; 2=rename if file exists
   DecodeOpt=2
   ; attachment handling option; 1=overwrite, 2=rename
   AttachOpt=2
   
Put these in xnews.ini

-- 
Ross Presser
ross_presser@imtek.com
"And if you're the kind of person who parties with a bathtub full of
pasta, I suspect you don't care much about cholesterol anyway."

Re: Saving attachments with Xnews
#57686
Author: GM
Date: Thu, 03 Feb 2000 00:00
33 lines
1848 bytes
fgabriel@ (BigGuy) wrote in <8ECF75473fgabrielsprintca@207.107.250.114>:

>When saving attachments with Xnews, is there a way to make Xnews rename
>the attachment's filename if the filename already exists in the download
>directory?
>
>At present, existing files in the directory are being overwritten or 
>replaced with the new file if they both have the same filename. This is
>not a problem when both files are identical; however, in some cases,
>they are different and the original file is lost forever.
>
>I would greatly appreciate any advice concerning this matter.
>
>TIA!
>
> 
> 

As Ross said, you can enter DecodeOpt=2 and AttachOpt=2 in xnews.ini.
Unfortunately, AttachOpt doesn't seem to work any more (after ver. 2.09.02)
There was a thread about it only a few days ago.

However, you can use the menu Article|Decode (or hit the F4 key) to
directly save and decode the article you want. 
If the article does not contain an encoded part nothing will be decoded.

Gregory

-- 
Make this a valid address:
put the land before the news.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads