Denzil Kruse wrote:
Hi,
I want my users to download a csv file. When they
left click on the link, it brings the file up within
the browswer. They can of course do a right click and
Save Target As depending on the browser.
But I don't want to fuss with instructions and
confused users.
--- Bob Showalter [EMAIL PROTECTED]
wrote:
snip
use CGI qw(:standard);
open FILE, ...blah blah...
print header('application/octet-stream');
print while FILE;
Thanks for the help Bob! Is there another way besides
the content-disposition to specify an attachment or
Denzil Kruse wrote:
--- Bob Showalter [EMAIL PROTECTED]
wrote:
snip
use CGI qw(:standard);
open FILE, ...blah blah...
print header('application/octet-stream');
print while FILE;
Thanks for the help Bob! Is there another way besides
the content-disposition to specify an
You might want to look at how sourceforge.net handles things when you go to
download. I don't know the mechanism, but it's the behavior you want.
Paul
3:23pm, Denzil Kruse wrote:
--- Bob Showalter [EMAIL PROTECTED]
wrote:
snip
use CGI qw(:standard);
open FILE, ...blah blah...
--- Wiggins d'Anconia [EMAIL PROTECTED] wrote:
snip
In one my libraries I use,
my %header_options = ( -Content_Type =
'application/octet-stream',
-Content_Length =
$content_length,
);
if (defined $self-{'filename'} and
At 1:41 PM -0700 8/30/05, Denzil Kruse wrote:
Hi,
I want my users to download a csv file. When they
left click on the link, it brings the file up within
the browswer. They can of course do a right click and
Save Target As depending on the browser.
But I don't want to fuss with instructions and