Using GetNumberOfFilesInFoldertree()

Using GetNumberOfFilesInFoldertree() to find sum of all folders in the "files" folder:
4 files (total) in "files" and all subfolders

The structure of the folder "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 GetNumberOfFilesInFoldertree function</title>
    <link rel="stylesheet" type="text/css" href="/jake.css">
</head>
<body>
    <div align="center"><h1>Using GetNumberOfFilesInFoldertree()</h1></div>
    <b>Using GetNumberOfFilesInFoldertree() to find sum of all folders in the "files" folder:</b><br>

    <!-- ***************    HERE IS WHERE IT HAPPENS!!     ****************** -->
    <span class="sample">
    <% response.write(getNumberOfFilesInFoldertree("files"))%> files (total) in "files" and all subfolders
    </span>
    <!-- ********************************************************************** -->

    <p><b>The structure of the folder "files":</b>
    <span class="data">
    <ul>
    <li>[FOLDER] files
        <ul>
            <li>data.txt
            <li>[FOLDER] images
            <ul>
                <li>ie.gif
                <li>nc.gif
            </ul>
            <li>[FOLDER] sounds
            <ul>
                <li>MuppetShownotbadbutbad.mp3
            </ul>
        </ul>
    </ul>
    </span>

    <p><b>Contents of default.asp :</b><br>
    <span class="source">
    <% response.write(stringToHTML (GetFileContents("default.asp")))%>
    </span>

</body>
</html>