Hi,
I have an asp page which needs to open an existing file for reading. But I always get an error saying the file does not exist.
Here's my code:
<%
dim oFS
set oFS = Server.CreateObject ("Scripting.FileSystemObject"
dim text
set text = oFS.OpenTextFile ("Config/test.txt"
%>
Config and the asp page reside in the same directory.
Any suggestions???
thanks
I have an asp page which needs to open an existing file for reading. But I always get an error saying the file does not exist.
Here's my code:
<%
dim oFS
set oFS = Server.CreateObject ("Scripting.FileSystemObject"
dim text
set text = oFS.OpenTextFile ("Config/test.txt"
%>
Config and the asp page reside in the same directory.
Any suggestions???
thanks