用asp实现文件浏览、上传、下载的程序(7)



    <form name="form1" method="post" action="?foldinfo=<%=foldinfo%>&action=uploadfiles" enctype="multipart/form-data"> 
        <input type="hidden" name="act" value="uploadfile"> 
        <input type="file" name="file1" style="width:300'" class="tx1" value=""> 
        <input type="submit" name="Submit" value="上传" class="button"> 
  </form> 

    </td> 
  </tr> 
  <tr> 
    <td>  
      <hr size="1"> 
    </td> 
  </tr> 
  <tr> 
    <td>  
      <table width="750" border="0" cellspacing="1" cellpadding="1"> 
        <tr bgcolor="#00CC00">  
          <td width="300" >Folder</td> 
          <td width="180" >Size</td> 
          <td width="200" >LastTime</td> 
          <td width="100" >Operate</td> 
        </tr> 
      </table> 
    </td> 
  </tr> 
  <tr>  
    <td align="right" >  
      <% 
            upfolder=left(foldinfo,len(foldinfo)-1) 
            upfolder=left(upfolder,InstrRev(upfolder, "\")) 
            if foldinfo<>folderini then  
        response.write("<a href='?foldinfo="&upfolder&"'>Go Back</a>") 
        else  
        response.write("Go Back") 
        end if%> 
    </td> 
  </tr> 
  <tr>  
    <td >  

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/3374.html