You cant just use sever.mappath you need to use the FSO, then the server.mappath syntax - did you ask google?
Anyhow here is a copy n paste piece of code that:
>will work for you
>give you an idea of how the FSO is used
>shows you an example of the type of anchoer tag you need
Drop this page into any directory within your asp application. It will list the contents and link to each file:
<% OPTION EXPLICIT %>
<%
Dim strPathInfo, strPhysicalPath,objFSO, objFile, objFileItem, objFolder, objFolderContents
strPathInfo = Request.ServerVariables("PATH_INFO")
strPhysicalPath = Server.MapPath(strPathInfo)
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.GetFile(strPhysicalPath)
Set objFolder = objFile.ParentFolder
Set objFolderContents = objFolder.Files
%>
<HTML>
<HEAD>
<TITLE>CDisplay Directory</TITLE>
</HEAD>
<BODY>
<TABLE cellpadding=5>
<TR align=center>
<TD align=left><B>File Name</b></TD>
<TD><B>File Size</B></TD>
<TD><B>Last Modified</B></TD>
</TR>
<%
For Each objFileItem In objFolderContents
Response.Write "<TR><TD align=left>" %>
<a href="<%= objFileItem.Name %>" target="_blank"><%= objFileItem.Name %></a>
<% Response.Write "</TD><TD align=right>"
Response.Write objFileItem.Size
Response.Write "</TD><TD align=right>"
Response.Write objFileItem.DateLastModified
Response.Write "</TD></TR>"
Next
%>
</TABLE>
</BODY>
</HTML>
FYI: If you want to get real techo visit:
http://www.brainjar.com/asp/dirlist/
Wow - this guy has some serious FSO code going on!!!
Wind is your friend
Matt