
30/09/2004, 10:13
|
 | Colaborador | | Fecha de Ingreso: febrero-2001 Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 24 años, 2 meses Puntos: 535 | |
¿El archivo de texto tiene 0KB?
Si es así, acá tenés la solución: http://www.aspfaq.com/show.asp?id=2481
Otra posible, está aquí: http://www.aspfaq.com/show.asp?id=2039 y dice que... Cita: If the file doesn't exist, you will get the following error:
Microsoft VBScript runtime error '800a003e'
Input past end of file
So, you might want to use the FileExists() methodology discussed previously in order to avoid potential errors if the filename is invalid. Note that if the file exists but contains *no* carriage returns (e.g. a one-liner), the lineCount will return 0. Similarly, if the last line of the file does not end with a carriage return, the count will be one short.
__________________ ...___... |