Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/11/2008, 05:34
Avatar de Muzztein
Muzztein
 
Fecha de Ingreso: agosto-2002
Ubicación: Hangar 18
Mensajes: 1.703
Antigüedad: 22 años, 8 meses
Puntos: 16
Respuesta: Fileexist para ruta web

nop.

Cita:
The FileExists method returns a Boolean value that indicates whether a specified file exists. It returns True if the file exists and False if not.

Syntax
FileSystemObject.FileExists(filename)

Parameter Description
filename Required. The name of the file to check if exist

Example
<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject ")
if fs.FileExists("c:\asp\introduction.asp")=true then
response.write("File c:\asp\introduction.asp exists!")
else
response.write("File c:\asp\introduction.asp does not exist!")
end if
set fs=nothing
%>
Sin embargo puedes usar Server.MapPath("./pruebas/pepe.asp")
para transformar la ruta de logica a fisica.

sin embargo, esto no te permite saber si es que existe un archivo en otro web.