Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pc to unix FileExists function

Status
Not open for further replies.
Nov 28, 2002
121
0
0
US
How do handle the below? the files on the unix box can be pulled up through the URL. If I want to check if that file actually exists, how do I do that?
***********************************************

Dim fs, fExists, path
fExists = false
Set fs=Server.CreateObject("Scripting.FileSystemObject")
path = " response.write(path)
if fs.FileExists(path)=true then
fExists = True
response.write(path)
else
response.write("Didn't passed FileExists test")
end if

set fs=nothing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top