
24/04/2002, 03:25
|
| | Fecha de Ingreso: abril-2002
Mensajes: 6
Antigüedad: 23 años Puntos: 0 | |
Re: adquisicion de datos desde fichero txt El bloque de comandos es:
Set fs=Server.CreateObject("Scripting.FileSystemO bject")
'Si tienes el fichero en la raiz de tu web
set f=fs.OpenTextFile(Server.MapPath(".") & nombrefichero, 2)
'En m tendrás todo el contenido del fichero
m=f.ReadAll
f.close
Set f=Nothing
Set fs=Nothing |