The code in question is:
The error states that "Permission Denied". Any ideas on how to circumvent this? I'm using a Windows 2000 server.
jared@eae.net -
Code:
function createFile(path,txt)
{
var fso,fil,srm;
fso = new ActiveXObject("Scripting.FileSystemObject");
fil = fso.CreateTextFile(path); //error here
srm = fil.OpenAsTextStream(ForWriting,TristateFalse);
srm.Write(txt);
srm.Close();
}
The error states that "Permission Denied". Any ideas on how to circumvent this? I'm using a Windows 2000 server.
jared@eae.net -