F
Freeserve
I am trying to write to a file using:
<%
Sub OpenTextFileTest
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fspenTextFile("c:\inetpub\rako\commands.txt", ForAppending, True)
f.Write "Hello world!"
f.Close
End Sub
%>
When i call this the script hangs. If I try page refresh, I get "The
requested resource is in use". I have to kill the dllhost.exe process to
free things up.
Any ideas why this won't work?
<%
Sub OpenTextFileTest
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fspenTextFile("c:\inetpub\rako\commands.txt", ForAppending, True)
f.Write "Hello world!"
f.Close
End Sub
%>
When i call this the script hangs. If I try page refresh, I get "The
requested resource is in use". I have to kill the dllhost.exe process to
free things up.
Any ideas why this won't work?