D
dave
hi
i have written code to display data frm text located
at C:\test\sample.txt..
it works fine on localhost on local machine (winxp)..
after that i have uploaded on the web server which has
got windows 2003.
i have also checked folder and file properties and given
full right to isur to c:\test\sample.txt on web server..
but when i run the page it says "File not found"
i checked everything but now i m guessing its a issue
with firewall..
can any one suggest how to solve this so i can grab that
file?? how to allow access this folder thru firewall??
all suggestion r welcome...
its my guess that i m not getting this file becoz of
firewall, it can be something else..
below is the code tht i m testing..
Filename = "C:/test/sample.txt"
Dim FSO
set FSO = server.createObject
("Scripting.FileSystemObject")
If FSO.FileExists(Filename) Then
Response.write "File found"
Else
Response.Write "File not found"
End If
Set FSO = nothing
all suggestion would be appreciated...
thanx
dave
i have written code to display data frm text located
at C:\test\sample.txt..
it works fine on localhost on local machine (winxp)..
after that i have uploaded on the web server which has
got windows 2003.
i have also checked folder and file properties and given
full right to isur to c:\test\sample.txt on web server..
but when i run the page it says "File not found"
i checked everything but now i m guessing its a issue
with firewall..
can any one suggest how to solve this so i can grab that
file?? how to allow access this folder thru firewall??
all suggestion r welcome...
its my guess that i m not getting this file becoz of
firewall, it can be something else..
below is the code tht i m testing..
Filename = "C:/test/sample.txt"
Dim FSO
set FSO = server.createObject
("Scripting.FileSystemObject")
If FSO.FileExists(Filename) Then
Response.write "File found"
Else
Response.Write "File not found"
End If
Set FSO = nothing
all suggestion would be appreciated...
thanx
dave