jscript
function saveFile(strHtml) {
name = '/lawson/xhrnet/EmailStubs/' + authUser.employee + '_PayStub_' + CheckNum + '.html';
frames['emailstub'].location.href = name
open('emailstub', 'replace');
write(strHtml);
close();
if(execCommand('emailstub', false, name)) {
window.alert( name + ' has been saved.');
}
return true;
}
*****************************
Name is local variable and using "alert" I found that it contains the correct info.
The string with the HTML data I want to write to the server is in a global variable 'strHtml'.
CheckNum is also a global var.
The iframe is called 'emailstub'
*****************************
I cannot get the file to be created on the sever.
Any ideas??
Mod Edit: Please use code tags when posting your code. Code tags are used like so =>

Thanks,
PsychoCoder