Use something like  <cfdirectory  directory="...    " name="QueryDir" 
action="list" filter="#FORM.filename#">

and I believe you can then check QueryDir.recordCount

----- Original Message ----- 
From: "Robert Orlini" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Wednesday, April 20, 2005 2:20 PM
Subject: RE: Check for a file in a directory


> Thanks all. I read over the link below, however, I need it to monitor this 
> directory with the use of a form that a user enters the file name so the 
> <cfif IsDefined("FORM.yourFile")> will not work.
>
> How can I have it monitor the directory on its own so-to-speak and then 
> tell me if it finds a certain file.
>
> Robert O.
>
> -----Original Message-----
> From: George Abraham [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 20, 2005 2:15 PM
> To: CF-Talk
> Subject: Re: Check for a file in a directory
>
>
> Use the FileExists() function in CFML.
>
> http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi79.htm#wp1104406
>
> George
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203715
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to