Did you add the proper encoding value to your form tag?

        ENCTYPE="multipart/form-data"

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
 

> -----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
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