in reply to Re: Missing filename header
in thread Missing filename header

I also tried with below, but it doesn't seem to be working.

print "Content-Type:application/vnd.microsoft.portable-executable\n"; print "Content-Disposition:attachment;filename='BCM_console.exe'\n\n";