After your cffile, do the follwoing to see what's available to use:

<cfdump var="#CFFILE#">

Adrian

-----Original Message-----
From: Pete [mailto:[EMAIL PROTECTED]
Sent: 28 February 2007 10:02
To: CF-Talk
Subject: Saving the name of an attached file to the DB


Hi there

I a piece of code in my program :

<cffile action = "upload" filefield = "attachment_1" destination =
"c:\wwwroot\drzacharia\uploads\" nameconflict = "makeunique">

I want to save the name of the file that is uploaded into the database.
Can I just use attachment_1 as the name

?

Thanks in advance.

P







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270928
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to