Re: attachment filenames explained and stuff

From: John Finlay <finlay_at_moeraki.com_at_hypermail-project.org>
Date: Thu, 22 Apr 1999 02:25:04 -0700
Message-ID: <371EEAF0.740753C2_at_moeraki.com>


Rather than generating a random name it would seem more useful to prepend the attachment name with the message number though I suppose one message could have attachements with the same file name.

John

Daniel Stenberg wrote:

> On Wed, 21 Apr 1999, John Finlay wrote:
>
> > This doesn't avoid the problem of one attachment overwriting a different
> > attachment with the same name.
>
> No, that particular fix doesn't. Hypermail already checks for existing file
> names before it saves an attachment. It then tries simple alterations (by
> prepending a single letter to the filename, a to z) and if none succeeds it
> falls back to generating a random one.
> --
> Daniel Stenberg - http://www.fts.frontec.se/~dast
> ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on Thu 22 Apr 1999 11:24:29 AM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT