You need to use the UNC name, and have the ColdFusion server running as an account that has access to that server. ----- Original Message ----- From: "Owens, Howard" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, December 10, 2002 6:27 PM Subject: Accessing Network Drive with CFFILE
> I'm trying to build an app that reads a file off a network drive. > > As a user, I have permission to access this drive, but apparently, my > localhost CF server does not have permission. I'm getting this error: > > Error processing CFFILE > Error attempting to read 'j:\PRE1208.TXT.' Access is denied. (error 5) > The error occurred while processing an element with a general identifier of > (CFFILE), occupying document position (8:1) to (8:64) in the template file > > > So the question is, how do I configure things to give CF permission to read > this file? Chaning the permissions on the network drive is not an option. > I need some way to have CF tell the drive, "Hey, I'm running on the machine > of Howard Owens and I'm cool." > > H. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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

