File Creation in safari mac

hi



Create File

<! This function will create a file named 'newfile' on the same directory as the HTML unless path is given>


function openFile()
{ var filePath = 'c:/filename.txt';
var fileSysObj = new ActiveXObject('Scripting.FileSystemObject');

fileSysObj.CreateTextFile(filePath);
}


above code is working fine in IE but not in Safari pls can any one help me

thanks and regards
Nanju
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories