I agree with Barney. This sounds like either a permissions issue, or your
destination folder doesn't exist.

Paul

-----Original Message-----
From: Matthew Smith [mailto:[email protected]] 
Sent: Thursday, February 11, 2010 10:14 PM
To: cf-talk
Subject: how do I create a new file with cffile?


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:330642
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to