I just did this yesterday by using this code for image uploads:
<cfoutput>
        <cfquery name="updatename" datasource="datasource">
                UPDATE settings SET fieldname='#File.ClientFile#'
                </cfquery>
</cfoutput>

Rich

-----Original Message-----
From: sebastian palmigiani [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 3:06 PM
To: CF-Talk
Subject: uploading files



When using <form  enctype="multipart/form-data">  the name of the uploaded
file changes to a temporary file name in the action template.

"F:\baba.jpg" is changed to "C:\WINDOWS\TEMP\ACF325.TMP"

Is there a way for it to maintain or access the original name?

Sebastian

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

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

Reply via email to