bueno, yo lo hago pero ejecutandolo en el mismo server el FSO...
y mandando el path con Server.MapPath().
sobre lo otro nunca lo havia visto o hecho asi... si se puede bueno, ya aprendimos algo no?
quedaria asi:
Código:
Function IsFileExists(strNombre)
Set FSO = Server.CreateObject("Scripting.FileSystemObject")
if FSO.FileExists(server.MapPath(strNombre)) = true then
IsFileExists = true
else
IsFileExists = false
end if
set FSO = Nothing
End Function
if IsFileExists("/imagenes/1.gif") = true then
response.write("ok")
else
response.write("nop")
end if