Here you can see the complete contents of the folder "myfiles":
ds.css
ico_brittanica.gif
ie.gif
js.js
nc.gif
programming humor.txt
Contents of default.asp :
<!-- The includefile is one level back from the "default.asp" file: -->
<!--#include file ="../../jakes_IO.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="da">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Example use of the GetFilesFromFolder function</title>
<link rel="stylesheet" type="text/css" href="/jake.css">
</head>
<body>
<div align="center"><h1>Using GetFilesFromFolder()</h1></div>
<p>Here you can see the complete contents of the folder "myfiles":
<span style="display:block;border:1px solid black;background:#DEF;padding:10px;font-size:11px;">
<%=filesToLinks("myfiles")%>
</span>
<p><b>Contents of default.asp :</b><br>
<span style="display:block;border:1px solid black;background:#FDE;padding:10px;font-size:11px;">
<% response.write(stringToHTML (GetFileContents("default.asp")))%>
</span>
</body>
</html>