It worked fine before I switched everything to mod_perl. Now it works for the most part, but on the initial dialog it uses the name of the script (e.g. 'download.pl') as the name of the file to be downloaded. Later, when the user is presented the browse dialog to save the file, the default save name is correct (in the above example 'requested_data.zip'), but I'd rather not have users freaking out because they think they're downloading something else.print $query->header(-type=>'application/octet-stream' -attachment=>'requested_data.zip');
In reply to mod_perl download header by fsmla3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |