>From livedocs:

destination: Pathname of directory in which to upload the file. If not
an absolute path (starting with a drive letter and a colon, or a forward
or backward slash), it is relative to the ColdFusion temporary
directory, which is returned by the GetTempDirectory function.


-----Original Message-----
From: Fawzi Amadu [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 25, 2008 4:45 PM
To: CF-Talk
Subject: CFFILE

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:309737
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to