I have up written code to upload a file for my computer, but I am getting an
error that I do not understand. I used destination="../images/"with the
intention of saving the file in the images folder of root of my site. Please
help, TIA
CODE:
<cffile action="upload"
filefield="uploadProductIMAGE"
destination="../images/"
nameconflict="makeunique">
ERROR MESSAGE:
Attribute validation error for tag CFFILE.
The value of the attribute destination, which is currently "../images/", is
invalid.
The error occurred in C:\CFusionMX7\wwwroot\e-Ghana\testFileUpload.cfm: line 15
13 : filefield="uploadProductIMAGE"
14 : destination="../images/"
15 : nameconflict="makeunique">
16 :
17 : <!--- make sure that file isn't more thatn 50k --->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309734
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4