-
1. Re: Error checking in cffile
Miguel-F Aug 31, 2012 5:15 AM (in response to Phinehas1234)Can you post your cffile code?
Does it ever work - has anyone successfully uploaded a file?
You can try and put a cftry/cfcatch block around your cffile operation to catch any errors that may be thrown.
<cftry>
<!--- your cffile logic --->
<cfcatch type="any">
<!--- email or log the error --->
</cfcatch>
</cftry>
-
2. Re: Error checking in cffile
WolfShade Aug 31, 2012 5:35 AM (in response to Phinehas1234)Do you IMMEDIATELY try to do something with the file, immediately after the CFFILE is done?
If not, the file is erased from the server temp folder and will not be there.
You have to copy the file from the temp folder to another location, immediately.
Just a thought.
^_^
-
3. Re: Error checking in cffile
Phinehas1234 Aug 31, 2012 6:56 AM (in response to Miguel-F)Yes, the system runs correctly until this week. This error occurs two time in this week.
We upload many document to our server through the system. However, recently this error occurs two times.
-
4. Re: Error checking in cffile
Miguel-F Aug 31, 2012 7:04 AM (in response to Phinehas1234)Do you see anything in the logs around the time this happens? If no errors, then do you at least see the attempt to upload the file (like in the IIS logs if you are using IIS)?
-
5. Re: Error checking in cffile
Phinehas1234 Aug 31, 2012 9:02 AM (in response to Miguel-F)May I know where can I find the log?
-
6. Re: Error checking in cffile
Miguel-F Aug 31, 2012 9:04 AM (in response to Phinehas1234)It depends on the webserver you are using. I am talking about the webserver logs. Check in those to see if the upload request can be found.

