> 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?
If I recall correctly, the CFCONTENT tag is run by the ISAPI extension that connects to CF, rather than by CF itself. That ISAPI extension runs within the IIS process, and uses whatever rights that process has, which typically will match the rights of the anonymous user (IUSR_MACHINENAME). So, I suspect that you'll have to allow that user rights to the network share containing the file. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Get the mailserver that powers this list at http://www.coolfusion.com

