Time cffile upload
Hi everyone,
I want to time the upload time when using CFFILE
I thought I could take the tome before the cffile tag and then take the time after the cffile tg and use the Datediff to get the upload time in seconds. See example below. But this gives me 0 seconds.
------------- Example ------------
<cfset startTime = Now()>
<cffile action="upload" destination="#application.upload_images#" filefield="#variables.filename#" nameconflict="MakeUnique" accept="image/jpg,image/jpeg,image/pjpeg">
<cfset endTime = Now()>
<cfset uploadTime = DateDiff("s", startTime, endTime)>
---------------------------------------
How can I time the upload time?
Thanks!
