Question
FielExists
I have files with upper and lower case in the share. and i need to display on the page so i converted all into lower case then check to see if it exists but it seem dosen't work.
<cfset variables.lCaseFileName = LCASE(trim(variables.filename)) />
#variables.lCaseFileName# displayed all files in lower case
<cfif FileExists("#path#/variables.lCaseFileName")>
found
<cfelse>
no
</cfif>
thanks
