Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFFILE Upload - Problem 1

Status
Not open for further replies.

jkwtek

Programmer
Sep 7, 2000
6
US
I have a form that users are filling in with about 10 fields. Two of the field are images that I have the user selecting with a browse functionality. When the user hits submit I have the data going to the SQLdb but the filed I want uploaded do not work.

The CFFILE tag give me a error that says
Error in CFFILE tag

The form field specified in the CFFILE tag (PDF) does not contain an uploaded file. Please be sure that you have specified the correct form field name.

The error occurred while processing an element with a general identifier of (CFFILE), occupying document position (11:1) to (14:16) in the template file C:\InetPub\
[sig][/sig]
 
Hi!

Please be sure that in your <FORM> tag you got something like this:
<FORM ACTION=&quot;yourActionFile.cfm&quot; METHOD=&quot;POST&quot; ENCTYPE=&quot;multipart/form-data&quot;>
....
</FORM>

The ENCTYPE is really important. This error: &quot;The form field specified in the CFFILE tag (PDF) does not contain an uploaded file&quot; usually appears when you forget the ENCTYPE in the form tag.

If this is not the problem, please post your code so that we could see what's really happening...

Thank you,
Chris
[sig][/sig]
 
onirike,
Thanks man your are life saver. If you ever need a hand feel free.


Julius [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top