Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/12/2003, 14:08
Avatar de Gurrutello
Gurrutello
 
Fecha de Ingreso: enero-2002
Ubicación: Ontario,Toronto [Canada]
Mensajes: 2.017
Antigüedad: 23 años, 3 meses
Puntos: 6
hola un ejemplo seria esto
<%
Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Dim objTextStream
tu_archivo="d:\\inetpub\wwwroot\tuarchivo.txt"
Const strFileName = tu_archivo
Const fsoForReading = 1

If objFSO.FileExists(""&tu_archivo&"") Then
response.write" El archivo existe"
else
response.write"el archivo no existe"
end if
%>
prueba esto, te mandara un mensaje si el archivo existe o no.
Recuerda poner el path correcto hacia tu archivo, en este ejemplo seria un archivo de texto .txt
saludos y espero que te sirva
__________________
Un Saludo
www.tutores.org
Asp | Php | Javascript | Perl | Coldfusion | Flash | +- 2000 codigos