>- see footer for list info -< Also try/catch around Java invocations using CreateObject wont give any particularly useful errors back either.
Russ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Moretti Sent: 06 September 2005 16:19 To: Coldfusion Development Subject: Re: [CF-Dev] CFFile Folder creation >- see footer for list info -< Robertson-Ravo, Neil (RX) wrote: >>- see footer for list info -< >> >> >Honestly Rich, aside from Sandbox as you state - if you do use that >Java function (and you are allowed to) then use that - it is clean and >fast - aside from that a cftry will do the job.. > > Don't bother using the java statement. For what you are using it for it is unreadable and does not give you any benefit in increased processing speed etc etc etc. Use the DirectoryExists() and <cfdirectory> functions and tags as has been stated by others. This is a MUCH easier and cleaner solution than using the java call surrounded by a cftry/cfcatch. I'm not saying you shouldn't protect your applications using cftry/cfcatch, but a good programmer will always write their applications to succeed first, rather than to fail. Stephen _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help >-< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
