Error checking in cffile
hi,
i use cffile upload file. recently, system occurs problems.
the coding following:
now, sometimes, user uploads file cannot find file in server. however, there no error shows in system. (no error exception)
is there possible way check error? or how can happen problem?
can post cffile code?
does ever work - has uploaded file?
you can try , put cftry/cfcatch block around cffile operation catch errors may thrown.
<cftry>
<!--- cffile logic --->
<cfcatch type="any">
<!--- email or log error --->
</cfcatch>
</cftry>
More discussions in ColdFusion
adobe
Comments
Post a Comment