<%
Set objFs = Server.CreateObject("Scripting.FileSystemObject")
Set objFile = objFs.OpenTextFile(Server.MapPath(sUrl), 1) '//sUrl은 텍스트파일이 있는 URL
Do While Not objFile.AtEndOfStream
txtLine = objFile.ReadLine
response.write txtLine & vbCrLf
Loop
objFile.Close
Set objFile = Nothing
%>
'ASP' 카테고리의 다른 글
[ASP] 웹페이지 내용을 Excel파일로 저장하기 (0) | 2009.06.18 |
---|---|
ASP에서 정규식 사용 (0) | 2009.06.18 |
ASP에서 DB(MSSQL)저장시 Decimal 타입의 데이터 사이즈 설정하기 (0) | 2009.06.18 |
ASP에서 글자(한글포함)길이 알맞게 자르기 (0) | 2009.06.18 |
Windows 2003 Server에서 CDO로 SMTP메일 보내기 (0) | 2009.06.18 |