I have the following code in my ASP page:
If fso.FileExists(Server.MapPath("test.txt") Then
sourcefile = "test.txt"
Response.Write "<BR>Success"
else
Response.Write "<BR>fail"
end if
This returns success everytime. If I add this line of code :
Set f = fspenTextFile(sourcefile,ForReading,false,-2)
the browser hangs. I'm not sure if it EVER actually returns anything. I'm running IIS 5.0 on Windows 2000 Pro, IE 5.5. I have given my anonymous user admin rights to the directory, not a solution.
Any ideas would be most excellent.
Thanks in advance.
If fso.FileExists(Server.MapPath("test.txt") Then
sourcefile = "test.txt"
Response.Write "<BR>Success"
else
Response.Write "<BR>fail"
end if
This returns success everytime. If I add this line of code :
Set f = fspenTextFile(sourcefile,ForReading,false,-2)
the browser hangs. I'm not sure if it EVER actually returns anything. I'm running IIS 5.0 on Windows 2000 Pro, IE 5.5. I have given my anonymous user admin rights to the directory, not a solution.
Any ideas would be most excellent.
Thanks in advance.