🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #57288

Re: XNews:Problem overwriting files without warning

#57288
From: Bill Simeon
Date: Wed, 26 Jan 2000 00:00
60 lines
2845 bytes
nobody@nowhere.com (MW) wrote in 
<519917325887FB52.F0EFA134C3483B87.C24EE2E5B8F6C955@lp.airnews.net>:

>I use XNews and an external browser (ACDSee).  When I double click on an 
>image file, XNews decodes it into the specified dir and spawns the viewer.
>
>The problem is, if that directory already has images stored that have the 
>same name they are overwritten.
>
>For example I decode a picture called apple001.jpg that is a picture of a 
>fruit and keep it. If I now double click on another posted image called 
>apple001.jpg that is a picture of a computer.  XNews will overwrite the 
>picture of the fruit without warning when it spawns the browser to view 
>the new apple001.jpg wich is a picture of the computer. If I delete the 
>spawned image because I don't want it, both are gone. If I keep the new 
>image, I only have one apple001.jpg file, the computer, and the fruit is 
>gone.
>
>This doesn't happen if you Q and decode articles. Duplicate files are 
>saved as apple001.jpg and apple001_0.jpg. But if you simply double-
>click to decode and view the new viewed file overwrites without any 
>warning.
>
>This can be prevented by usung different directories for viewing and 
>saving, but I find that awkward. Also the fact that it happens without any 
>warning means that you often lose many files before you notice thay are 
>missing.
>
>Is there a way of setting XNews to not overwrite existing files when a new 
>one is spawned directly to a viewer?
>
>
>
>MW
>
>
>
>
>
>

Check for the following lines in the MISC section of your xnews.ini file. 
This should solve your problem.

; save option for batch decoding; 1=overwrite existing file 2=rename if file 
exists
DecodeOpt=2
; save option for attachments; 1=overwrite 2=rename
AttachOpt=2

-- 
Required Disclaimer:
The opinions expressed herein are my own and are NOT those of my employer.
Bill Simeon MCSE MCP+I
NCR HAGSC
When I die, I want to go peacefully, In my sleep, like my grandfather.
Not screaming, like the passengers in his car!
wsimeon@netscape.net

Technical Details
Message-ID: <8EC7657D8wgs@153.80.109.11>
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!not-for-mail
References: <519917325887FB52.F0EFA134C3483B87.C24EE2E5B8F6C955@lp.airnews.net>

Show Full Headers
Complete Article Headers
Message-ID: <8EC7657D8wgs@153.80.109.11>
Subject: Re: XNews:Problem overwriting files without warning
Date: Wed, 26 Jan 2000 00:00:00 +0000
From: wsimeon@hotmail.com (Bill Simeon)
References: <519917325887FB52.F0EFA134C3483B87.C24EE2E5B8F6C955@lp.airnews.net>
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!not-for-mail
X-Deja-AN: 577859501
X-Original-NNTP-Posting-Host: gscpcwgs.columbiasc.ncr.com
X-Trace: 26 Jan 2000 09:57:17 -0500, ncrnews.daytonoh.ncr.com
Organization: NCR Solutions Support
User-Agent: Xnews/03.01.23
Newsgroups: news.software.readers