Add this to your FORM tag:
enctype="multipart/form-data"

>>> [EMAIL PROTECTED] 12/13/02 11:31AM >>>
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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to