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]
- Re: cfmx - request timeout setting lists
- Re: cfmx - request timeout setting Tony Weeg
- FileExists sample code? Donna French
- Re: FileExists sample code? Greg Stewart
- RE: FileExists sample code? Donna French
- RE: FileExists sample code? Donna French
- Re: FileExists sample code? Barney Boisvert
- RE: FileExists sample co... Donna French
- Re: FileExists sample co... Barney Boisvert
- RE: FileExists sample co... Donna French
- RE: cfmx - request timeo... Barney Boisvert
- RE: cfmx - request timeout setting DURETTE, STEVEN J (AIT)
- Re: cfmx - request timeout setting Tony Weeg
- Re: cfmx - request timeout setting Tony Weeg
- RE: cfmx - request timeout setting DURETTE, STEVEN J (AIT)
- Re: cfmx - request timeout setting Tony Weeg
- RE: cfmx - request timeout setting DURETTE, STEVEN J (AIT)
- Re: cfmx - request timeout setting Tony Weeg
- RE: cfmx - request timeout setting DURETTE, STEVEN J (AIT)
- Re: cfmx - request timeout setting Tony Weeg
- Re: cfmx - request timeout setting Adrocknaphobia