Two new subprocedures of service program CGIDEV2/CGISRVPGM2, DspStmf() and DnlStmf(), allow to send a stream file to the browser or download it.
Check out page http://cgidev2.easy400.net/cgidev/html/exhibiv4.htm .
CGIDEV2 is an ILE-RPG toolset for developing WEB programs on IBM System i.
You can download it at no charge from site http://www.easy400.net .
Giovanni B. Perotti