客户端可以FSO的,但是会出安全提示,试试下面的代码<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<script language="JavaScript">
function test()
{
  var fso, tf;
  fso = new ActiveXObject("Scripting.FileSystemObject");
  tf = fso.CreateTextFile("c:\\test.txt", true);
  tf.WriteLine("test") ;
  tf.Close();
}
</script>
<body>
<input value="test" type="button" onClick="CreateFile()">
</body>
</html>