Originariamente inviato da fraude
devi prevedere un replace del nome del file quando fai l'inserimento del documento.
scusa ma potresti dirmi dove inserlo?

<%
Set FileObject = Server.CreateObject("Scripting.FileSystemObject")
strPath = server.mappath("../public/")
call getfiles(strPath)
call getfolders(strPath)
Set FileObject = Nothing
sub getfiles(strPath)
Set f = FileObject.getfolder(strPath)
set fc = f.Files
For Each f1 in fc
response.write"<li type='circle'>" &f1.name& " <a href=javascriptopdoc('vedidoc.asp?link=../public/"&f.name&"/"&f1.name&"') target='_self' title='apri file"&f.datelastaccessed&"'>vedi file</a>"
response.write" creato :" &f.datecreated
next
Set fc = Nothing
end sub
sub getfolders(strPath)
set fc = f.subfolders
For Each f1 in fc
response.write"<li type='square'>" &f1.name
response.write"<ul type='circle'>"
call getfiles(f1)
call getfolders(f1)
response.write"[/list]"
next
Set fc = Nothing
Set f = Nothing
end sub
%>

il presente script l'ho copiato dal libro asp3