do you have the enctype attribute in your form tag?? Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED]
--------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com ----- Original Message ----- From: "Ryan Roskilly" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 11:01 AM Subject: Upload file from passed form field doesn't work. > 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:138166 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com