you cannot use NAMECONFLICT with the Copy Action.  You can only use it with 
the Upload Action.

If you have to use the copy action your going to have to create more logic 
to figure out if the file has the same name.

This will be a combination of CFDIRECTORY, CFFILE, and some CFIF statements.


At 10:51 AM 3/23/01 -0600, you wrote:
>I believe you'll have to check for the existence of the file name using
><CFDIRECTORY> first.
>
>-----Original Message-----
>From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
>Sent: Friday, March 23, 2001 9:08 AM
>To: CF-Talk
>Subject: RE: CFFILE ACTION="copy" and NAMECONFLICT
>
>
> > Can't you use the 'MAKEUNIQUE' attribute with the CFFILE tag?
>
>That's what I'd done - added NAMECONFLICT="makeunique" and ColdFurion threw
>the error message pasted into the last post.
>
>
>
>
>--
>Aidan Whitehall <[EMAIL PROTECTED]>
>Netshopper UK Ltd
>Advanced Web Solutions & Services
>
>http://www.netshopperuk.com/
>Telephone +44 (01744) 648650
>Fax +44 (01744) 648651
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to