You need to add enctype="multipart/form-data" to your form tag
<form action="act_page.cfm" method="post" enctype="multipart/form-data">
that should do it. I wish this was better documented, I ran into the same
problem.
At 05:06 PM 5/15/2001 -0700, you wrote:
>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