Can you use perl on that server? If so, try the following code. I tested it with a doc file and it worked perfectly. test.doc was my file. I placed it in the same location as my script, but I think you can place it elsewhere.
==========================
#!/usr/local/bin/perl
$binary = "test.doc";
$size = -s "$binary";
open(DOWNLOAD,"<$binary"
or die $!;
#print "Content-Type:application/octet-stream\n";
print "Content-Type:application/msword\n";
print "Content-Disposition:attachment; filename=test.doc\n";
print "Content-Length:$size\n\n";binmode(DOWNLOAD);binmode(STDOUT);
while(read DOWNLOAD, $buffer, 1){ print $buffer; }
close(DOWNLOAD);
============================
found on comp.lang.perl.misc
==========================
#!/usr/local/bin/perl
$binary = "test.doc";
$size = -s "$binary";
open(DOWNLOAD,"<$binary"
#print "Content-Type:application/octet-stream\n";
print "Content-Type:application/msword\n";
print "Content-Disposition:attachment; filename=test.doc\n";
print "Content-Length:$size\n\n";binmode(DOWNLOAD);binmode(STDOUT);
while(read DOWNLOAD, $buffer, 1){ print $buffer; }
close(DOWNLOAD);
============================
found on comp.lang.perl.misc
