This is a multi-part message in MIME format.
--=_NextPart_000_00B0_01C01F39.C59F9220
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Verifying the existence of a file on the serverUse the FileExists()
function.
DC
-Original Message-
From:
If you have a logical path mapped to the directory where it should be,
then you should be able to attempt to open the file. If you can open it,
then it exists. If you can't then it doesn't. If it opened, then close it
and display it.
I can't think offhand the syntax to do that in CF, but that's t
Use the function FileExists() to check for existence, not the CF Tag,
CFFILE, to check for a file's existence.
Steve
-Original Message-
From: Michael Gagnon [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 15, 2000 1:02 PM
To: [EMAIL PROTECTED]
Subject: Verifying the existence of a fil
do something
or something else
or if your inlining html you might want to use the IIF funciton:
/s
-Original Message-
From: Michael Gagnon [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 15, 2000 1:02 PM
To: [EMAIL PROTECTED]
Subject: Verifying the existence of a
5.CE0B01EA
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
RE: Verifying the existence of a file on the server
<cfset image =3D =
evaluate(DE("E:\PathToImage" & ID & =
".jpg")))>
<cfif FileExists
5 matches
Mail list logo