Index: openacs-4/packages/file-storage/www/download-zip.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/download-zip.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/file-storage/www/download-zip.tcl 16 Jan 2007 17:44:55 -0000 1.1 +++ openacs-4/packages/file-storage/www/download-zip.tcl 1 Mar 2007 11:59:11 -0000 1.2 @@ -47,6 +47,8 @@ # return the archive to the connection. ns_set put [ad_conn outputheaders] Content-Disposition "attachment;filename=\"$download_name\"" +ns_set put [ad_conn outputheaders] Content-Type "application/zip" +ns_set put [ad_conn outputheaders] Content-Size "[file size $out_file]" ns_returnfile 200 application/octet-stream $out_file # clean everything up