To elaborate, you can use <cfdirectory> with the filter attribute to
only list the file you want, something like this:

<cfdirectory action="list" directory="#path#" filter="#filename#"
name="dirList"> 

Then you can check the size like #dirList.size#

Chris

-----Original Message-----
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 18, 2006 9:53 AM
To: CF-Talk
Subject: Re: cffile action=read does FILE.fileSize still work?

I may be wrong, but I believe that you can only do that via
<cfdirectory>
The read pretty much does only that "read" the contents of the file.



Doug



----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Monday, December 18, 2006 7:46 AM
Subject: cffile action=read does FILE.fileSize still work?


> Good morning,
>
> I'm sure this is a simple one for most of you, but I forget. If I
perform
a cffile action="read" etc ...
> on an image file, I should be able to get #FILE.fileSize# correct? I
was
able to do it using action="upload".
>
> Thanks
>
> D
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264304
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to