Advanced CFCATCH Exception Types

2002-02-06 Thread Dave Carabetta
I would like to trap a CFFILE error using CFTRY/CFCATCH if the user submits a bad file type. I only want to allow them to upload .gif files. I can use the CFCATCH TYPE="Any" to trap it, but I was hoping that I could trap specifically for a bad file type. I noticed that there are a whole slew o

RE: Advanced CFCATCH Exception Types

2002-02-06 Thread Dave Watts
> I would like to trap a CFFILE error using CFTRY/CFCATCH if > the user submits a bad file type. I only want to allow them > to upload .gif files. > > I can use the CFCATCH TYPE="Any" to trap it, but I was hoping > that I could trap specifically for a bad file type. > > I noticed that there a

RE: Advanced CFCATCH Exception Types

2002-02-06 Thread Andrew Scott
extensions. -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED]] Sent: Thursday, 7 February 2002 7:13 AM To: CF-Talk Subject: Advanced CFCATCH Exception Types I would like to trap a CFFILE error using CFTRY/CFCATCH if the user submits a bad file type. I only want to allow them to u

RE: Advanced CFCATCH Exception Types

2002-02-06 Thread James Curran
] .. -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 3:13 PM To: CF-Talk Subject: Advanced CFCATCH Exception Types I would like to trap a CFFILE error using CFTRY/CFCATCH if the user submits a bad file type. I only want to allow them to upload

RE: Advanced CFCATCH Exception Types

2002-02-06 Thread Dave Watts
> I actually tried outputting the CFCATCH.type, and it just > gives me an "UNKNOWN". Also, it does not fail silently; it > generates a CF error page, which is why I was looking to > trap it. > > My ultimate goal was to trap the bad file type error, and > re-direct back to the calling page ale

RE: Advanced CFCATCH Exception Types

2002-02-06 Thread Christopher Olive
betta [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 3:13 PM To: CF-Talk Subject: Advanced CFCATCH Exception Types I would like to trap a CFFILE error using CFTRY/CFCATCH if the user submits a bad file type. I only want to allow them to upload .gif files. I can use the CFCATCH TYPE=&

RE: Advanced CFCATCH Exception Types

2002-02-06 Thread Dave Carabetta
nc. 410.931.4092 http://www.atnetsolutions.com -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 3:13 PM To: CF-Talk Subject: Advanced CFCATCH Exception Types I would like to trap a CFFILE error using CFTRY/CFCATCH if the user submits a bad

RE: Advanced CFCATCH Exception Types

2002-02-06 Thread UXB Internet
ns.length; i++){ alertTxt += extensions[i] + " " { } }return alertTxt } //--> Then use: Best regards, Dennis Powers UXB Internet (203)879-2844 http://www.uxbinfo.com/ -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February