> -----Original Message----- > 1) I would like them to upload the files to a temp directory on the > server
> 2) When the complete the form, I would like to attach all the relevant > files to the cfmail > 3) I would like to delete the files from the temp directory > > Needless to say, it is quite likely that many people will be using the > form at the same time, and could have files with the same name. CFFILE has the NAMECONFILICT=MAKEUNIQUE option when you upload a file. It just renames your file in the temp directory when you upload it to something like AFZE.foo. If I recall correctly it retains the original name and other details of the uploaded file in a variable structure called FILE, (FILE.CLIENTNAME I think) so you don't loose the orginal filename if you still need it. Check out the Macromedia nee Allaire Custum tag gallery @ http://devex.macromedia.com/developer/gallery/ I just popped over and found a custom tag for multiple file uploads here: http://devex.macromedia.com/developer/gallery/info.cfm?id=125027CB-1AE4-11D6-83F C00508B94F85A&method=full Hope this helps. : David Nesbitt : Internet Developer (ColdFusion) : Tundra Semiconductor Corporation : Ottawa, Canada : (e) [EMAIL PROTECTED] - You are subscribed to the CFUGToronto CFTALK ListSRV. This message has been posted by: "David Nesbitt" <[EMAIL PROTECTED]> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ This System has been donated by Infopreneur, Inc. (http://www.infopreneur.net)
