Also please be very careful that #get.model# does not contain any user 
input, form variables, or url variables.  Some clever user input of 
"../../windows/system/somefile.ini"  could cause some real trouble.


[Image:Our Hero] David Henry
http://ColdFusionPowered.com/


Todd wrote:
> Make sure get.model is a valid directory name and actually exists and that
> you trim the appropriate spaces out of it, etc.  #trim(get.model)# ?
>
> On Jan 4, 2008 10:06 AM, Orlini, Robert <[EMAIL PROTECTED]> wrote:
>
>   
>> I get an error copying w/cffile when I use a variable in the destination.
>> In this case #get.model#
>>
>> Is there a way to avoid this?
>>
>> <cffile
>>          action = "copy"
>>          source = "e:\documentation\masterfiles\tree.cfm"
>>          destination = "e:\documentation\#get.model#\">
>>
>> When I put the directory name it works.
>>
>> Thanks.
>>
>> RO
>>
>>
>>     
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295830
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