Kelly,

Try adding this atribute to your form tag:

enctype="multipart/form-data"

-Elizabeth

-----Original Message-----
From: Kelly Matthews [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:40 AM
To: CF-Talk
Subject: Problem w/ CFFILE...


I haven't run across this error before.
On my form I have this:
<td valign="bottom" align="right"><font 
size="2"><b>Logo:</b></font></td>
<td valign="bottom"><input type="file" name="LogoFileName" 
value=""
size="30"
maxlength="64"></td>

Which allows for me to upload a file. I basically click Browse and find 
the
image.

The action page has:
<CFIF Trim(LogoFileName) NEQ "">
                <cffile action="UPLOAD" filefield="Form.LogoFileName"
destination="#UploadDirectory#" nameconflict="MAKEUNIQUE">
                <CFSET LogoFileName=ServerFile>
</CFIF>

Well I am getting an error on that that says:
Message Error in CFFILE tag Type UNKNOWN Detail The form field 
specified in
the CFFILE tag 
(LogoFileName) does not contain an uploaded file. Please be sure that 
you
have specified the correct form field name.

Yet I am choosing a file on the form page. Any idea what would be 
causing
this NOT to work? I have never
see this problem before.
-Kelly

                


~~~~~~~~~~~~~~~~~~~~~~
Kelly Matthews
Senior Programmer
[EMAIL PROTECTED]
http://www.allsoldout.net
703.387.4000 x 35
~~~~~~~~~~~~~~~~~~~~~~


______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to