John,

Does the 'system' have permission to read / write to that folder?  CF uses 
the 'system' user to do things.  Just because you can, doesn't mean the 
system can.

~Todd


On Thu, 6 Jun 2002, John McCosker wrote:

> Greetings,
> 
> I'm getting this error when using ACTION="MOVE" with <CFFILE>,
> 
> Error processing CFFILE
> 
> Unable to move file
> 'd:\inetPub\wwwroot\websites\live\secure\xml\McKeefry\TotalHours_06-Jun-0212
> -51-00.xml' to path
> 'd:\inetPub\wwwroot\websites\live\secure\logs\McKeefry\ehancedReports'.
> Access is denied. (error 5)
> 
> I'm testing this on NT4.0,
> 
> maybe I'm leaving something out,
> 
> <CFSET EhancedReportFolder="ehancedReports">
> 
> <CFIF NOT DIRECTORYEXISTS(
> "#REQUEST.LOGPATH##SESSION.CustomerName#\#EhancedReportFolder#" )>
>       <CFDIRECTORY ACTION="CREATE"
> DIRECTORY="#REQUEST.LOGPATH##SESSION.CustomerName#\#EhancedReportFolder#">
> </CFIF>
> 
> <CFFILE ACTION="MOVE" 
>       
> SOURCE="#REQUEST.SaveXMLRoot##SESSION.CustomerName#\#ATTRIBUTES.FileForSave#
> " 
>       
> DESTINATION="#REQUEST.LOGPATH##SESSION.CustomerName#\#EhancedReportFolder#">
> 
> I'm don't think it could be administrative privilages, as I can write and
> delete directories / files ok,
> 
> any advice out there,
> 
> respectfully,
> 
> j
> 
> 
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to