mi restituisce il nome del file uploadato ma non effettua l'upload...


cosa sbaglio?

codice:
<html> 
<head>
<title>upload</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script>
	function mostra() {
	  document.getElementById('attesa').style.visibility = 'visible';
	}
	function nascondi() {
	  document.getElementById('attesa').style.visibility = 'hidden';
	}
	function chiudi() {
		window.opener.document.maschera.upload.value = document.form.upload.value;
		window.close();
	}
</script>

<style type="text/css">
<!--
body {
	margin: 2px;
	background-color: #000000;
}
-->
</style>

<link href="../../Style.css" rel="stylesheet" type="text/css">
</head> 
<body> 
<%
If Request("Upload")="1" then
	Dim oUpload
	Set oUpload = new cUpload
		oUpload.AutoRename = False
		oUpload.Overwrite = true
		oUpload.SetPath "/public/upload"
		oUpload.Upload
		filename = oUpload.GetFileName()
	Set oUpload=Nothing
end if
%>
 
<table width=400 height="300" border=0 align=center cellpadding="10" cellspacing=1 bgcolor="#FFFFFF">
  <tr> 
    <td width=544 align=center height="20"><font size=2>SELEZIONARE IL FILE
    PER UPLOAD</font></td> 
</tr> 
  <tr> 
    <td width="544" height="300"> 
	<FORM ACTION="?upload=1" METHOD="Post" enctype="multipart/form-data" name="form" id="form">
        

ISTRUZIONI:</p>
        <ul>[*]Cliccare sul pulsante SFOGLIA.[*]Selezionare il file da uploadare.[*]Premere APRI.[*]Infine premere AGGIUNGI.[/list]
        <p align="center"><font size="2" face="Arial">

          </font> 	  
		File : 
		<INPUT TYPE="file" NAME="Campo1">

		<INPUT NAME="Enter" TYPE="submit" onClick="javascript:mostra()" value="INVIA">
        <input name="upload" type="hidden" value="<%=filename%>">	
      </FORM>
      <div align="center">

      </div>
      <div id="attesa" style="visibility:hidden">
        <div align="center">E' in corso il trasferimento.

          

                  Il tempo necessario varia secondo le dimensioni del file e
                  potrebbe richiedere alcuni istanti.</div>
      </div>
</div>
	  <div align="center">
        <% If filename <> "" then %>
	      Il file <%=UCase(filename)%> è stato uploadato con successo.
      </div>
	  <div align="center"><a href="#" onClick="chiudi()" class="Link">

        Chiudi</a></div>
	<% end if %>
	</td> 
</tr> 
</table> 
 

</body> 
</html>