The file was not found or the script has not enough rights to access the file.
Check the file name and path. Check user and file permissions.
NULL
"Could not open file_name"
The file is already opened and exclusivly locked by another application.
In the most cases a programm opens the file for writing.
setTxtBody() does no file locking, so this problem is not caused by competitve callings of this function.
Deliver First Class Web Sites: 101 Essential Checklists Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?