Zoogie has asked for the wisdom of the Perl Monks concerning the following question:
Time to seek the wisdom of the Perl Monks again...
I'm trying to write a CGI script that will turn a directory into a tar.gz archive, then return that archive to the user. The problem is, I probably later won't have the disk space to make a temporary file; is there a way I can send the output of tar directly to the browser without buffering?
Also, is there a way to modify the CGI headers such that when the browser pops up the "Save As..." dialog, the default filename is something like "backup.tar.gz" instead of "backup.cgi"?
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Auto-Backup Questions
by t0mas (Priest) on Jun 05, 2000 at 13:48 UTC | |
by ar0n (Priest) on Jul 31, 2001 at 13:48 UTC | |
Re: Auto-Backup Questions
by jjhorner (Hermit) on Jun 05, 2000 at 16:10 UTC | |
Re: Auto-Backup Questions
by nashdj (Friar) on Jun 05, 2000 at 11:53 UTC | |
Re: Auto-Backup Questions
by athomason (Curate) on Jun 05, 2000 at 11:58 UTC | |
Re: Auto-Backup Questions
by Corion (Patriarch) on Jun 05, 2000 at 12:06 UTC |
Back to
Seekers of Perl Wisdom