Thanks, but I've done that already. I have no problem writing or reading files, and in fact I'm using FileExists() before executing cfcontent. This is on CF4.5.1, btw.
----- Original Message ----- From: "Mike Townend" <[EMAIL PROTECTED]> > Usually this is to do with rights.... CF by default is installed on the > system account which only has access to the local machine... What you will > probably have to do is change the CF Service to run under a user account > that has access to that machine... > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > I've got a piece of code that serves up PDFs, and it seems to have a problem > when the file is an a different machine: > > <cfcontent type="application/pdf" file="\\database\output\10096-low.pdf" > deletefile="No"> > > I don't even get a useful error message, it gets chewed up and I only see > the end of it. However, if I change the file attribute to some file (that > doesn't even exist), but using the drive letter notation, the code works. Is > this a known behavior? > > Thanks > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

