> >form.upload file is NOT the uploaded file. It's more of a ....
> >pointer. When you use cffile/action=upload, you are telling CF to
> >"process" the file and give you a handle to it's location. That's
> what
> >the CFFILE structure is returning to you - the server directory and
> >server file. That should be covered in the guide. That's what you
> >attach to the email.
> >
> >
> >
> >>
>
> Hi Nick & Raymond,
>
> Sorry guys, i am doing exactly what you are suggestion but having the
> following error :
>
> Invalid content type: "application/x-www-form-urlencoded".
>
> CFFILE action="upload" requires forms to use
> enctype="multipart/form-data".
>
> The error occurred in E:\onesource\tools\CEFrontDoor\CEResource\insert.
> cfm: line 468
>
>
> 467 : <cfset destination=expandPath("./files")>
> 468 : <cffile action="upload" filefield="attachment_1"
> destination="#destination#" nameconflict="Makeunique">
> 469 :
> 470 :
>
>
> and here is my corm tag :
>
> <cfform format="html" action="insert.cfm" method="post" name="form1"
> id="formid1">
>
>
> thoughts ?
>
>
i have changed my cfform tag to :
<cfform format="html" action="insert.cfm" method="post" name="form1" id="form1"
enctype="multipart/form-data">
still the same issue!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5452
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm