FSO读写远程文件失败
IIS设定非匿名访问。如果把文件路径改在本地,如\\127.0.0.1\share\myfile.txt,程序运行没有问题。但改到远程就是不行,远程的共享文件夹都是Everyone可以读写访问的啊。请高手指点还有什么地方不对!<%
Set ScriptObject = Server.CreateObject("Scripting.FileSystemObject")
Set MyFile = ScriptObject.OpenTextFile("\\192.168.0.10\share\myfile.txt", 8,true)
MyFile.WriteLine "*** Write file test ***"
Myfile.writeline " file was written to at: " & Now
Myfile.writeline " "
MyFile.Close
%>