----- Original Message ----- From: "Joe Eugene" <[EMAIL PROTECTED]> > > <CFFILE ACTION="Upload" FILEFIELD="#attributes.filefield#" > > DESTINATION="#ulpath#" NAMECONFLICT="MAKEUNIQUE"> > > <cfset upload.file = duplicate(cffile)> > > I think FILEFIELD does not need "#" sign in CFMX, since u are specifying > (cffile).. am assuming u are on CFMX. I think CFFILE.. is not yet created > because of the filefield # sign. Havent tested this. ----------------------------
But I assume #attributes.filefield# refers to the file field, so the pound signs are needed. If the form field is called 'filePath', FILEFIELD="#filePath#" would be wrong, but if attributes.filefield EQ "filePath", then the above is right, no? - Gyrus ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

