[Belfast-pm] Files sent for download via CGI

Simon McCartney simon at asidua.com
Tue May 4 08:07:39 CDT 2004


Afternoon folks,

I'm using Spreadhseet::WriteExcel to create an Excel version of a report,
everything works sweetly, however when the file get's downloaded (by the
punter clicking on the cgi link) you have to rename it from something.pl 
to whatever.xls.

I'm using CGI.pm at the moment, is there any way to generate a filename and
send it in the HTTP headers, over riding the link filename?

Thanks,

Simon.

-simonm (E: simon at asidua.com W: +44 28 9072 5060 M: +44 7710 836915)
$ cat legs 
cat: cannot open legs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/belfast-pm/attachments/20040504/ca3631bf/attachment.bin


More information about the Belfast-pm mailing list