I've got a form that allows files to be uploaded, but I've limited the files that can be uploaded based on the MIME type. Right now I check the MIME type upon upload using the "accept=" parameter in the "cffile" tag. This works except when an improper file type is uploaded the user gets an error screen . For example:
"The MIME type of the uploaded file (application/vnd.ms-excel) was not accepted by the server."
I would prefer to be able to handle this error more gracefully. Is there any way I could direct to a different page where I could explain the error? Or perhaps another way to handle this?
Thanks!
"The MIME type of the uploaded file (application/vnd.ms-excel) was not accepted by the server."
I would prefer to be able to handle this error more gracefully. Is there any way I could direct to a different page where I could explain the error? Or perhaps another way to handle this?
Thanks!
