cffile does not crash when using cffile with read or readbinary
On 5/17/07, Jake Churchill <[EMAIL PROTECTED]> wrote: > > Can't you just read the file as a file object inside a try/catch and if it > fails, the file is assumed to be corrupt > > _____ > > > > Jake Churchill > > CF Webtools > > 11204 Davenport, Ste. 200b > > Omaha, NE 68154 > > http://www.cfwebtools.com > > 402-408-3733 x103 > > -----Original Message----- > From: AJ Mercer [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 17, 2007 1:32 AM > To: CF-Talk > Subject: java unzip :: verify file > > Hi, > > I have a cf script that is using java.util.zip.ZipFile to unzip - works > great, except when... > > If the zip if corrupt it kills jRun. > > Does any one know if there is a way to verify / check the zip file to > ensure > it is not corrupt? > > > Because it is dieing at the jRun level, I can not use cfcatch. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278544 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

