You need your form tag to look something like:
<FORM ACTION="uploadfile.cfm" ENCTYPE="multipart/form-data" METHOD="POST">
HTH,
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server
----- Original Message -----
From: "Paul Smith" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 8:06 PM
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