<cffile action="upload" ... has an attribute called "nameConflict" that y ou can set to "overwrite" or "makeunique". If you set it to "makeunique" it creates a new filename for you and stores the value in FILE.SERVERFILE
-MK -----Original Message----- From: Jennifer Larkin [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 10:38 AM To: CF-Talk Subject: Re: CFFILE ERROR Nope. But you can change it immediately after it gets uploaded. If you are having a file name conflict problem, you could always rename the file after upload or you could upload into a different directory. (Either make a directory before uploading, which would basically get out of control, or upload, rename, then move to the permanent directory.) At 08:50 AM 1/25/02 -0800, you wrote: >Thanks for the help, the multipart/form-data worked like a charm. I have >just one more quick ? if you do not mind. Is there a way to rename the >file before it get uploaded? > > >There are two major products that come out of Berkeley: LSD and [Unix] >BSD. We don't believe this to be a coincidence. > > > >Doug Brown >----- Original Message ----- >From: "Kym Kovan" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Thursday, January 24, 2002 11:26 PM >Subject: Re: CFFILE ERROR > > > > >I keep getting the following error > > > > > >Error Diagnostic Information > > >Error in CFFILE tag > > > > > >The form field specified in the CFFILE tag (THUMBNAIL) does not >contain > > >an uploaded file. Please be sure that you have specified the correct > > >form field name. > > > > You usually get that eror when you don't change the form enctype over >on > > the template that is sending the file. It should be: > > > > <form action="uploadfile.cfm" method="post" >enctype="multipart/form-data"> > > > > > > -- > > > > Yours, > > > > Kym > > > _________________________ _________________________ ____________________ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ______________________________________________________________________ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists