So I have a web page, and I would like to programaticly create a text file (lets say it has the words \'hello, I am a text file\' in it) on a new directory on my website. The pr
You can use ActiveXObject, but it won't work in all browsers.
var fso = new ActiveXObject("Scripting.FileSystemObject");
var a = fso.CreateTextFile("c:\\testfile.txt", true);
a.WriteLine("This is a test.");
a.Close();