好象不可以吧  没有用过这种方法 
可以用别的方法下载多个文件嘛
ftp
file都可以

解决方案 »

  1.   

    <td onclick="window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");window.open("");">
      

  2.   

    我的代碼如下.我該如何改呢?function Download($filepath,$filename) {
            global $HTTP_USER_AGENT;
            $size = filesize($filepath.$filename);
            header("Content-Type: application/force-download");
            header("Content-Length: $size");
            if(preg_match("/MSIE 5.5/", $HTTP_USER_AGENT)) {
                    header("Content-Disposition: filename=$filename");
                 }
            else {
                    header("Content-Disposition: attachment;filename=$filename");
                 }
            header("Content-Transfer-Encoding: binary");
    }      if ($ADO_Document_Rs->RecordCount>0){
              while(!$ADO_Document_Rs->eof){
                $FileName=$ADO_Document_Rs->Fields("FileName");
                $FileContent=$ADO_Document_Rs->Fields("FileContent");
                $ADO_Document_Stream->Write($FileContent);
                $ADO_Document_Stream->SaveToFile("C:\\temp\\".$FileName->value(),2);
                $strFilePath="C:\\temp\\";
                $strFileName=$FileName->value();
                Download($strFilePath,$strFileName);
                $ADO_Document_Rs->MoveNext();
              }
           }
           else{
             ECHO "<script language=\"JavaScript\">alert(\"此目錄沒有包含檔案\");</script>";
           }