Empty File Error Trapping

2009-03-18 Thread Brian Peddle
I am trying to trap an error when someone uploads a file that is 0 length. I get this error now No data was received in the uploaded file foo.txt. Saving empty (zero-length) files is prohibited. Verify that you specified the correct file. I have used cfif IsDefined(FORM.uploadedResume) I

Re: Empty File Error Trapping

2009-03-18 Thread C S
I am trying to trap an error when someone uploads a file that is 0 length. I get this error now There may be a better option, but have you tried catching a specific exception type? Look at the top of the stack trace. Then try and catch that exception type. cfcatch ... cfcatch