不知道你服务端用的是什么脚本(.net?),我这个给各php的例子 public function download()
 {                                                                       
        header("Content-Disposition: attachment; filename="".$this->_fileName."";"); //要下载的文件名
        header("Content-Type: application/vnd.ms-exce");// 类型设置为ms的excel
        header("Content-Length: " . filesize($this->_fileName));//文件长度
       @readfile( $this->_filePath ) ));// 读文件并输出 }你在你的服务端的脚本只要按照这种格式发送http的头信息就可以实现excel文件的下载