Either the containing directory doesn't exist, or you (meaning the CF server) doesn't have sufficient privileges to create a new file in that location (because of filesystem ACLs). Java doesn't delineate between the two for security reasons, much like web apps return 404 for existing resources you don't have access to and have no way of gaining access to.
cheers, barneyb On Thu, Feb 11, 2010 at 7:13 PM, Matthew Smith <[email protected]> wrote: > > I am trying to save dynamic pages as static html with cffile. I have the > html I want to write, but when I go to write it, I get: > > An error occurred when performing a file operation write on file > D:\inetpub\site\page.htm. > The cause of this exception was: java.io.FileNotFoundException: > D:\inetpub\sitepage.htm (The system cannot find the path specified). > > The file does not exist. I am trying to create a new file. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330640 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

