Have you put ENCTYPE="multipart/form-data" in your posting form...
Ie
<FORM ACTION="act_upload.cfm" METHOD="Post"
ENCTYPE="multipart/form-data">
</FORM>
HTH
Mike
-----Original Message-----
From: Paul Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 1:07
To: CF-Talk
Subject: CFFILE Problem
After 3 hours I'm going nuts with this one. CFAS 4.5.1 on NT4
sp6a WebSite Pro 2.8
I'm using the same syntax that works fine with CFAS 4.0.1, and the CFAS
4.5
Docs say the syntax is fine:
<CFFILE ACTION = "Upload"
FILEFIELD = "FileContents"
DESTINATION = "D:\website\htdocs\lodigas\htdocs\library\"
NAMECONFLICT = "MakeUnique">
The Form has:
<INPUT TYPE="FILE" NAME="FileContents">
I've tried several variations of the name "FileContents" but they all
throw
an error:
"The form field specified in the CFFLE tag (FILECONTENTS) does not
contain
an uploaded file. Please be sure that you have specified the correct
form
field name."
CFFILE & CFCONTENT are enabled on the server.
HELP!
best, paul
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists