Hi
Can someone help me because I’m going to shoot this computer. I’ve been trying to write a file and have been having problems in doing so. The code I’ve been using can see if a file is there but when I go to write it start a very very slow load in the browser and then times out. I get no error and the file is never created. What is wrong?
Using Windows 2000 pro and IIS = PWS
<!-- #include file="adovbs.inc" -->
<html>
<body>
<%
dim fs,fname
Set fs=Server.CreateObject("Scripting.FileSystemObject")
set fname=fs.CreateTextFile("D:\Inetpub\
If (fs.FileExists("D:\Inetpub\ Then
Response.Write("File D:\Inetpub\ exists.")
Else
Response.Write("File D:\Inetpub\ does not exist.")
End If
set fs=nothing
%>
</body>
</html>
Can someone help me because I’m going to shoot this computer. I’ve been trying to write a file and have been having problems in doing so. The code I’ve been using can see if a file is there but when I go to write it start a very very slow load in the browser and then times out. I get no error and the file is never created. What is wrong?
Using Windows 2000 pro and IIS = PWS
<!-- #include file="adovbs.inc" -->
<html>
<body>
<%
dim fs,fname
Set fs=Server.CreateObject("Scripting.FileSystemObject")
set fname=fs.CreateTextFile("D:\Inetpub\
If (fs.FileExists("D:\Inetpub\ Then
Response.Write("File D:\Inetpub\ exists.")
Else
Response.Write("File D:\Inetpub\ does not exist.")
End If
set fs=nothing
%>
</body>
</html>