Hello,
I am uploading a file via a form. Intead of using CFFILE Upload, I am doing
a CFFILE ReadBinary, and then perform an insert to my Database server. All
is good.
However, Now I want to tweak the program so it checks for filesize and name,
before I do an insert.
Before I insert any conditionals, I am just doing a cfoutput. However I get
an error:
Element CLIENTFILE is undefined in CFFILE
Thank you for any help,
Percy
Please see below for code:
<!--- read variable passed by form.... ---->
<cffile
action = "readBinary"
file = "#form.f_filename#"
variable = "var_name">
<cfoutput>
#CFFile.ClientFILE#
#CFFile.FileSize#
</cfoutput>
Proprietary and Confidential: The information transmitted is intended only
for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
delete the material from any computer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=14
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=14
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14