VBScript&ASP: want to check the existence of a file on the server !
Posted on 1998-09-04
I have a NT server with IIS4 etc.
I build a web site that use ONLY html, vbscript, asp.
The website is called "Website"
The directory is: "c:\InetPub\wwwroot\Website"
The actual page is "page.asp"
I want to display in the returned file ("page.asp") when the client("slave") asks for "page.asp" to the server ("master") a link only if a specified file is present on the server in "c:\InetPub\wwwroot\Website"
This page is called "present.asp"
If this page exits by a click on this link you'll jump to it
If this page doesn't exist you'll jump to "ouch.asp"
Please ask for more infos if i'm not understandable.