🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by c0smic Sat, 24 Jul 2004 02:39
[Xnews] how to save a file attachments without overwriting?
#152328
Author: c0smic
Date: Sat, 24 Jul 2004 02:39
6 lines
1378 bytes
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.

Thank you :)
Re: [Xnews] how to save a file attachments without overwriting?
#152330
Author: Guy
Date: Sat, 24 Jul 2004 03:44
19 lines
1975 bytes
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.)

-- 
Regards,
Guy

Xnews "XP" Icon Patcher Files
<http://xnews-icon-patchers.bebto.com/patcher.html>
Re: [Xnews] how to save a file attachments without overwriting?
#152331
Author: c0smic
Date: Sat, 24 Jul 2004 04:30
22 lines
2255 bytes
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.)
> 
OK I looked at the manual again and my Xnews.ini says “DecodeOpt=2” and the 
manual says “DecodeOpt {1,2} when saving decoded file: 1 = overwrite 
existing file; 2 = save under different name.” Is this the right place?? 
The default is 2, which it has been for many months. Yet if I save a file 
named 001.jpg and then later save a completely different file that happens 
to be named 001.jpg it just overwrites and the first file is lost without 
warning. I like Xnews, but I donÂ’t get this at all.
Re: [Xnews] how to save a file attachments without overwriting?
#152332
Author: Guy
Date: Sat, 24 Jul 2004 10:14
68 lines
3579 bytes
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

-- 
Regards,
Guy

Xnews "XP" Icon Patcher Files
<http://xnews-icon-patchers.bebto.com/patcher.html>
Re: [Xnews] how to save a file attachments without overwriting?
#152335
Author: 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.
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