2017-11-16 8 views

답변

0

TextStream 개체를 사용하십시오.

예 :

<% 
Set fs=Server.CreateObject("Scripting.FileSystemObject") 

Set f=fs.OpenTextFile(Server.MapPath("testread.txt"), 1) 
Response.Write(f.ReadAll) 
f.Close 

Set f=Nothing 
Set fs=Nothing 
%> 

https://www.w3schools.com/asp/asp_ref_textstream.asp