|
|
|
|
|
| | |
|
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Accessing a txt file from web |
From: |
Tim |
Date: |
6/26/1999 12:34:28 AM |
IP: |
208.168.160.110 |
Use the file scripting object:
<%
Dim fs, a
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.OpenTextFile(Server.MapPath("yourtextfile.txt"))
While a.AtEndOfStream = False
InputStr = a.ReadLine
Response.Write(InputStr & "<br>")
Wend
a.Close
%>
|
Previous Message
Follow Up - Re: Accessing a txt file from web - Tony 7/19/1999 4:01:47 AM
|
|
|
|
|
|
|
|
|
|
|
|