> is there a function, that i missing from the help file
> for some reason, cant find anything, to count the amount
> of characters in a file?
> not the file length, but the actual amount of characters
> in a file?
There's no native function, you'd have to read in the file and check the
length...
In CFMX you could write this into a UDF.
<cffunction name="getFileLength">
<cfargument name="filepath" type="string">
<cffile action="read" file="#filepath#" variable="myfile">
<cfreturn value="#len(myfile)#">
</cffunction>
hth
Isaac
Certified Advanced ColdFusion 5 Developer
www.turnkey.to
954-776-0046
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm