I am creating an app that merely moves a file from one folder to another. I
have this script:
<cfscript>
tempBylawPath = #ExpandPath("../tempBylaws")#;
currentBylawPath = #ExpandPath("../Bylaws")#;
archiveBylawPath = #ExpandPath("../ArchiveBylaws")#;
</cfscript>
<!--- Now move the file to the new directory --->
<cffile action = "move"
source = "#tempBylawPath#\#Form.APPROVE#"
destination = "#currentBylawPath#">
I dumped out the source and the destination and they show as valid paths,
and the source is a valid path and filename that exists. But I am getting an
error that says Attribute validation error in CFFILE. So what gives?
The server is a Windows 2K3 server running CFMX 7.2.
--
Bruce Sorge
"I'm a mawg: half man, half dog. I'm my own best friend!"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267018
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4