Here you can see the complete contents of the folder "assorted files":
...so a few files were excluded by using GetImagesFromFolder() instead of GetFilesFromFolder()
assorted files/ds.css
assorted files/ico_brittanica.gif
assorted files/ie.gif
assorted files/js.js
assorted files/nc.gif
assorted files/programming humor.txt
Here are the images in the folder "assorted files":
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 GetImagesFromFolder function</title>
<link rel="stylesheet" type="text/css" href="/jake.css">
</head>
<body>
<div align="center"><h1>Using GetImagesFromFolder()</h1></div>
<p>Here you can see the complete contents of the folder "assorted files":
<span style="display:block;border:1px solid black;background:#DEF;padding:10px;font-size:11px;">
<%
dim file
for each file in getFilesFromFolder("assorted files")
response.write("<br>" & file)
next
%>
</span>
<b>Here are the images in the folder "assorted files":</b><br>
<span style="display:block;border:1px solid black;background:#DFE;padding:10px;font-size:11px;">
<%
dim image
for each image in GetImagesFromFolder("assorted files")
response.write("<br><img style='border:1px solid black;margin:2px;' src='" & image & "'>")
next
%>
<p>...so a few files were excluded by using GetImagesFromFolder() instead of GetFilesFromFolder()
</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>