Check that the form tag contains an Enc Type... e.g.

<form action="whatever.cfm" enctype="multipart/form-data">
..
..
..
</form>

> -----Original Message-----
> From: Paul Smith [mailto:[EMAIL PROTECTED]]
> Sent: 16 May 2001 10: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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to