in reply to Auto-Backup Questions

You can try:
use CGI; use Archive::Tar; use Compress::Zlib; $tar=Archive::Tar->new(); $tar->add_files("my","list","of","files"); $gz=Compress::Zlib::memGzip($tar->write()); print "Content-type: application/x-gzip\r\n"; print header(-type => 'application/x-gzip'); print $gz;
Can't help you with the default filename, the tar part works though, but if don't have the diskspace, maybe you won't have the memory...

/brother t0mas

Replies are listed 'Best First'.
(ar0n) Re: Auto-Backup Questions
by ar0n (Priest) on Jul 31, 2001 at 13:48 UTC
    You can use a Content-disposition header for the default filename:
    print "Content-disposition: attachment; filename=foobar.tar.gz\n";


    ar0n ]