there is a great tutorial on this at www.communitymx.com does exactly what you are trying to do.
dave > I have a form where users enter there data, including input type="file". > This page post to a preview page where the passed form fields are then > inserted into hidden form fields. If the user is happy with the preview, > they then hit save and the data inserts into the db. The problem is that > on the action page. I get an error saying > > The form field specified in the CFFILE tag (EMAIL_DOCUMENT) does not > contain an uploaded file > > Even though this cffile is wrapped in > > <cfif isDefined("form.Email_document") AND > len(trim(form.Email_document))> > > Basically it sounds like cffile cannot upload passed documents. > > Debug does display: EMAIL_DOCUMENT=C:\WINNT\TEMP\ACF5979.tmp > > Any ideas on if it is even possible to upload passed references to a > file? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138251 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com