Why not use the functionality that is already built into the html/cfm
scripts?    At the point of asking which file to upload,   why not ask
there "if the file you are about to  upload already exists, what do you
want to do?    Overwrite?   Skip?  .  then use that to set you
overwrite="true" or overwrite="false" parameter in the CFFILE tag

So that decision is already made before the "Submit" button is clicked.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month




--


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355723
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to