Re: Apache::File and setting filename

2005-05-17 Thread Scott Alexander
Scott Alexander wrote: Hi, Is it possible with Apache::File to set the name of the filename? (Apache/1.3.31 (Unix) mod_perl/1.29 configured) For the record: $fh = Apache::File->new($file) or warn "Can't open $file $!"; $r->content_type('application/octet-stream'); $r->headers_out->set('Content-D

Apache::File and setting filename

2005-05-17 Thread Scott Alexander
Hi, Is it possible with Apache::File to set the name of the filename? (Apache/1.3.31 (Unix) mod_perl/1.29 configured) I have print "Content-type: application/octet-stream\n\n" ; $file = "myfile_to_send.doc" ; $fh = Apache::File->new($file) or warn "Can't open $file $!"; $r->headers_out->set("Conten