If it's dying and you're using a form don't forget this attribute
"enctype="multipart/form-data"" in your form tag.
HTH
Terry Long wrote:
> I'm trying to upload a file, either by the form --> CFFILE method or by
> specifying the file to upload via URL.file variable. The CFFILE requires a
> form field so this errors out. Any ideas on how to accomplish this feat?
>
> Thanks
> Terry Long
>
> ----------------
> <cfif isdefined("url.file")><cfset form.uploadedfile=url.file></cfif>
> <!--- upload file with unique name --->
> <CFSET IsOverwriteEnabled = "NO">
>
> <cfif isdefined('uploadedfile')>
> <CFFILE
> action="UPLOAD"
> fileField="UpLoadedfile"
> destination="#application.attachmentpath#"
> nameConflict="MAKEUNIQUE">
> <cfelse>
> Error - Input "UpLoadedFile" is missing....
> <cfabort>
> </cfif>
>
> ----------------
> Diagnositcs |
> Error in CFFILE tag
> The form field specified in the CFFILE tag (UPLOADEDFILE) does not contain
> an uploaded file. Please be sure that you have specified the correct form
> field name.
>
> ------------------------------------------------------------------------------
> To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
--
Bryan Stevenson
Electric Canvas Technologies
Inter/Intranet Development
www.ecanvas.com
[EMAIL PROTECTED]
(250) 920-8830
-------------------------------------------
Allaire Alliance Partner
www.allaire.com
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.