What I would do is create a unique directory (i.e. with an incremental name:
tempdir01 etc.), then set this as the destination in the Upload. Then you
can use CFDIRECTORY to find the new file, get the name and extension by
parsing the string, move it to the intended directory and then delete the
temporary directory.
Long winded but it'll work.
Taz
----- Original Message -----
From: "Internet Gold Coast Properties"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 26, 1999 11:04 AM
Subject: Help with Filername facility
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_000D_01BE901F.F7046980
> Content-Type: text/plain;
> charset="windows-1257"
> Content-Transfer-Encoding: quoted-printable
>
> I am wanting to rename some image files that are uploaded my members of =
> the public when they add their accommodation properties to my website
>
> as I do not know the name of the file being uploaded nor the file =
> extensions for these files that being jpg or gif how do I rename the =
> files whilst not altering the file type indicated by the file extension
>
> ???????
>
>
>
> Kind Regards
>
> Claude Raiola
> E-Mail: [EMAIL PROTECTED]
> Website: www.internetgoldcoastproperties.com.au
>
>
>
> ------=_NextPart_000_000D_01BE901F.F7046980
> Content-Type: text/html;
> charset="windows-1257"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Dwindows-1257" =
> http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.3013.2600" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT color=3D#0000ff size=3D2>I am wanting to rename some image =
> files that are=20
> uploaded my members of the public when they add their accommodation =
> properties=20
> to my website</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT color=3D#0000ff size=3D2>as I do not know the name of the =
> file being=20
> uploaded nor the file extensions for these files that being jpg or gif =
> how do I=20
> rename the files whilst not altering the file type indicated by the file =
>
> extension</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT color=3D#0000ff size=3D2>???????</FONT></DIV>
> <DIV><FONT color=3D#0000ff size=3D2></FONT> </DIV>
> <DIV> </DIV>
> <DIV><FONT color=3D#0000ff size=3D2><BR>Kind Regards</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT color=3D#0000ff size=3D2>Claude Raiola<BR>E-Mail: <A=20
> href=3D"mailto:[EMAIL PROTECTED]">info@internetgold=
> coastproperties.com.au</A><BR>Website:=20
> <A=20
> href=3D"http://www.internetgoldcoastproperties.com.au">www.internetgoldco=
> astproperties.com.au</A></FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT color=3D#0000ff size=3D2></FONT> </DIV></BODY></HTML>
>
> ------=_NextPart_000_000D_01BE901F.F7046980--
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.