If you want to convert Webfocus EXL2K documents into real .XLS files then you need to use a
conversion tool that has a batch command line capability.
A very good one is CZ-Excel Converter this costs $160 for a single user licence and $960
for a site or developer licence and worth every cent if you need to go to a plugin that only supports real
.XLS format. This will work on windows only, but there are some unix alternatives out there.
download the trial version and give it a try for example
(just google CZ-Excel Converter and you'll get plenty of hits)
The command line option will do exactly what you need. to run it you only need to give the
explicit path to the tool
FILEDEF ZZ DISK ZZ.mht
-RUN
TABLE FILE CAR
SUM
DEALER_COST
BY MODEL
ON TABLE SUBHEAD
"My report"
ON TABLE NOTOTAL
ON TABLE HOLD AS ZZ FORMAT EXL2K
END
-RUN
-* convert the file to a real .xls
!c:\temp\cz-xlsvt .\zz.mht /f:-4143 /d:c:\ibi\apps\excelout /h
-RUN
-*
-HTMLFORM BEGIN
<html>
<head>
<title>A real .xls document </title>
</head>
<frameset rows="*">
<frame name="EXCEL2K" src="http://Localhost:8080/approot/excelout/ZZ.xls"
scrolling="auto" >
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
-HTMLFORM END
Items to beware of ,
you must have a work directory to hold the xls that can be seen by the webserver so
maintenance will be required for cleanup.
You must make sure that your application server knows how to handle an xls document
- mime type settings- otherwise the binary will just be displayed in plain text