You need to make sure that you have 'enctype="multipart/form-data"' in your
FORM tag.
-----Original Message-----
From: Paul Smith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 5:07 PM
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists