Did you remember to set your form to multipart? I always forget that
bit....
--Ben Doom
Programmer & General Lackey
Moonbow Software
: -----Original Message-----
: From: Angel Stewart [mailto:[EMAIL PROTECTED]]
: Sent: Friday, December 13, 2002 11:31 AM
: To: CF-Talk
: Subject: CFFILE error:formfield File does not contain a file
:
:
: Hey all,
:
: Here's my code
:
: <CFTRANSACTION> <!--- If any part of the process fails, cancel
: the entire process --->
: <!--- Process file upload --->
: <CFFILE action="upload"
: filefield="form.fuckingfile"
: destination="e:\webs\theenergyguide\resumes\"
: nameconflict="makeunique">
:
: <CFIF cffile.filewassaved ><!--- if
: cffile.filewassaved is true --->
:
: <!--- Insert data into database
: including the new filename for the word document--->
: And this is the error I get:
: ----------------
:
: The form field "FILE" did not contain a file.
:
:
: The Error Occurred in E:\webs\theenergyguide\postresume.cfm: line 9
:
: 7 : <CFTRANSACTION> <!--- If any part of the process fails, cancel
: the entire process --->
: 8 : <!--- Process file upload --->
: 9 : <CFFILE action="upload"
: filefield="form.fuckingfile"
: 10 : destination="e:\webs\energyguide\resumes\"
: 11 : nameconflict="makeunique">
: ---------------
: I select a valid file in the form. The fieldnames are all correct.
: I click submit...and the CFFILE always fails with that cryptic error
: message.
:
: Anyone seen this before? What am I doing wrong?
:
: -Gel
:
:
:
:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com