🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #152335

Re: [Xnews] how to save a file attachments without overwriting?

#152335
From: c0smic
Date: Sat, 24 Jul 2004 13:07
70 lines
3890 bytes
Guy wrote:

> c0smic wrote:
> 
>> Guy wrote:
>> 
>>> c0smic wrote:
>>> 
>>>> How can I get Xnews to save attachments without overwriting a
>>>> file with the same name? For instance Agent will add a 1 after a
>>>> file if a file of the same name already exists in the folder. I
>>>> have read the manual but don’t see anything about this. Sorry
>>>> I’m not a programmer. 
>>>> 
>>> 
>>> Search the Manual again, you are looking for a "Decode" option.
>>> (this way you look at the manual and perhaps learn more than if I
>>> tell you the answer directly. I think it is better to do it this
>>> way.) 
>>> 
>> “DecodeOpt=2”
> 
> 
> [Misc]
> DecodeOpt=2
> 
> I decode the same two files 3 times.
> Here is a dir after each:
> 
>  Directory of C:\TMP
> 
> .              <DIR>        06-11-02  4:21a .
> ..             <DIR>        06-11-02  4:21a ..
> SUN-707C JPG        52,185  07-24-04  5:08a sun-707c.jpg
> SUN-707M JPG        46,668  07-24-04  5:08a sun-707m.jpg
>          2 file(s)         98,853 bytes
>          2 dir(s)     163,987,456 bytes free
> 
> 
>  Directory of C:\TMP
> 
> .              <DIR>        06-11-02  4:21a .
> ..             <DIR>        06-11-02  4:21a ..
> SUN-707C JPG        52,185  07-24-04  5:08a sun-707c.jpg
> SUN-707M JPG        46,668  07-24-04  5:08a sun-707m.jpg
> SUN-70~1 JPG        52,185  07-24-04  5:09a sun-707c_0.jpg
> SUN-70~2 JPG        46,668  07-24-04  5:09a sun-707m_0.jpg
>          4 file(s)        197,706 bytes
>          2 dir(s)     163,880,960 bytes free
> 
> 
> Directory of C:\TMP
> 
> .              <DIR>        06-11-02  4:21a .
> ..             <DIR>        06-11-02  4:21a ..
> SUN-707C JPG        52,185  07-24-04  5:08a sun-707c.jpg
> SUN-707M JPG        46,668  07-24-04  5:08a sun-707m.jpg
> SUN-70~1 JPG        52,185  07-24-04  5:09a sun-707c_0.jpg
> SUN-70~2 JPG        46,668  07-24-04  5:09a sun-707m_0.jpg
> SUN-70~3 JPG        52,185  07-24-04  5:10a sun-707c_1.jpg
> SUN-70~4 JPG        46,668  07-24-04  5:10a sun-707m_1.jpg
>          6 file(s)        296,559 bytes
>          2 dir(s)     163,774,464 bytes free
> 
I tried that and it works that way for me too. Apparently the problem is 
when I manually save attachments by clicking the paper clip thingy. Then it 
will overwrite without any warning. For instance many people post pics from 
digital cameras and sometimes file names happen to be the same. I like to 
view pics inline and selectively save the ones I want rather than saving 
all of them and then deleting most later. Thank you very much.
Technical Details
Message-ID: <QuidnQkYkru-wp_cRVn-rA@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!local1.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <8cOdndHinK5jVpzcRVn-tw@giganews.com> <952FE76622CAF2E284CEEC009E394A9D7@130.133.1.4> <C-6dnV9d6s5LeJzcRVn-rw@giganews.com> <9530353B498F12E284CEEC009E394A9D7@130.133.1.4>

Show Full Headers
Complete Article Headers
Message-ID: <QuidnQkYkru-wp_cRVn-rA@giganews.com>
Subject: Re: [Xnews] how to save a file attachments without overwriting?
Date: Sat, 24 Jul 2004 08:07:47 -0500
From: c0smic <too.much@newsgroup.spam>
References: <8cOdndHinK5jVpzcRVn-tw@giganews.com> <952FE76622CAF2E284CEEC009E394A9D7@130.133.1.4> <C-6dnV9d6s5LeJzcRVn-rw@giganews.com> <9530353B498F12E284CEEC009E394A9D7@130.133.1.4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!local1.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 24 Jul 2004 08:07:46 -0500
Newsgroups: news.software.readers
User-Agent: Xnews/5.04.25
Lines: 70
X-Trace: sv3-cJ44xBPXv3hTbw4oD+GveNTKw2ScVEkBQPkmPpu8SdLBdhsk5pp8eVsYSUDttPOQ1uLsV6vt4vJZ3Ij!zC+ntP4ULQ49P6m2LUMJA5uYy0t58xFDNIMMz+x8JUmpjYUeO890bT0Y6RMVHQ==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.1