Download file to client from web

gsoernssen

New Member
I am trying to create a .xls or .csv file & allow customers to download the file to their PC. I am able to popup the "save as" dialog box when I hit the download button, but it is downloading a blank file. Any ideas why the file is not getting created? Examples would help. Thanks.

Using this code for the "save as":
output-http-header ("Content-disposition","Attachment~;filename=download.csv").
output-content-type( "application/msword":U ).
 
Back
Top