If a file with the same name already exists on the server, you can use a
NAMECONFLICT="makeunique".  But what I want to know is if there is a way to
see if it already exists on the server, and then prompt the user to rename
the file, instead of CF handling this issue?

Thanks,
Chad



-----Original Message-----
From: Jim McAtee [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 29, 2000 1:47 AM
To: CF-Talk
Subject: Re: CFFile


> How do I get the name of a file after it has been uploaded by a user using
> cffile?

See the documentation for CFFILE with action="Upload".  There are a whole
slew of results variables, prefixed with 'file.', that give you the results
of an upload.  The one that gives the filename on your server is
'file.ServerFile'.

Jim


----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to