i do this a lot.
in your form, CFLOOP to create each upload form element. use the INDEX value
as part of each form element name.
then, in the code that handles the form, CFLOOP over the name of each form
element using Evaluate() to get the actual value of each var name.
-----Original Message-----
From: Susan Matthews [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 9:04 AM
To: CF-Talk
Subject: uploading multiple files
Hi all--
I have a form that uses multiple <cffile action=upload> to upload multiple
files(images and PDFs).
In the past, when using <cffile> I have used 'file.clientFile' to save the
file name so that I can read the correct file later from a known directory.
If I am uploading multiple files on one form, how do I know which name goes
with which file?
thanks in advance for any help :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists