>http://www.coldfusionjedi.com/index.cfm/2007/10/12/File-Upload-Guide
>
>
>>

Hi raymond,
i followed the example you provided on the blog but( you are providing away to 
upload a file to a specific foler right ? )
i am looking to attach the file to my existing cfmail that i send after the 
form is processed..


i am having the following code in my form toi check for the file i want to 
attache to my email:

<input type="file" name="uploadfile" />

on the processing file i have the following code :


    <cfmail to="#FORM.EMAIL_ADDRESS#"                   
                from="[email protected]"
            subject="Your Project Resource"
            type="html">
            
            <cfmailparam file="#FORM.uploadfile#">

........
........
.......

</cfmail>

i am getting the following error : 
The resource C:\test1.txt was not found.  
The root cause was: .  
  
The error occurred in E:\onesource\tools\CEFrontDoor\CEResource\insert.cfm: 
line 478
 
476 :             type="html">
477 :             
478 :             <cfmailparam file="#FORM.uploadfile#">
479 :             
480 :             Hi, #FORM.NAME# <br /><br />
 


am i doing something wrong ??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:5446
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to