The code sample DirectoryListing.asp which comes with AspUpload displays all folders and files in a given directory, including the links to the current directory (".") and parent directory (".."). This article explains how to hide the "." and ".." links so that a user could not navigate to the parent directory.
The following simple modifications need to be made to the file DirectoryListing.asp: