Hallo speedy,
system("gzip -c GD5.gif");
probiers mal mit:
print "Content-type: application/gzip\n";
print qq!Content-Disposition: filename="DATEI.gz"\n\n!; # sicha is sicha
open( CMDOUT, "gzip -c GD5.gif ");
binmode CMDOUT; # auch hier: sicha is sicha
print while (<CMDOUT>);
close CMDOUT;
Alternativ kann ich noch das Compress::Zlib-Modul erwähnen.
Das ist alles nur so ein Schuß ins Blaue ;-)
Grüße
Klaus