That code will simply check to make sure the directory you're looking
in exists.  If you want a listing, do this:

<cfset dir = "c:\inetpub\lanescollectibles\images\400\" />
<cfdirectory action="">   directory="#dir#"
  filter="*.jpg"
  name="files" />
<cfdump var="#files#" />

On Fri, 6 Aug 2004 17:08:49 -0500, Donna French
<[EMAIL PROTECTED]> wrote:
> The images in the 400 folder are referenced by lanesID in the db table,
> so will that work or just give me a dir listing?
>
> Thank you,
>
> Donna French
>
>
> -----Original Message-----
> From: Barney Boisvert [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 06, 2004 5:01 PM
> To: CF-Talk
> Subject: Re: FileExists sample code?
>
> How about running this:
>
> #directoryExists("c:\inetpub\lanescollectibles\images\400\")#
>
> If that returns NO, then the file exist above will always return NO as
> well.
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to