"File" is a reserved word in CFMX.

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/elemen27.htm

"The names of any built-in data structures, such as Error or File"

hth,
____________________________
James Silva
Web Production
Gruden Pty Ltd

Tel:   +61 02 9956 6388
Fax:   +61 02 9956 8433
Email: [EMAIL PROTECTED]
Web:   http://www.gruden.com
____________________________

> Hi,
> 
> Just came across something interesting. In cfmx 6.1 the following code
> will not work ... well it works but not how you would expect. Im on a
> windoze 2k platform.
> 
> <cfif fileexists(trim(filepath))>
> <CFFILE ACTION="Read"
>     FILE="#trim(filepath)#"   
>     VARIABLE="file">
> <cfdump var="#file#">
> </cfif>
> 
> Before you run the code, can you see what the problem is?
> 
> Rod 
> 
> 
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> 
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004
> 

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to