httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cnel...@nycap.rr.com
Subject Re: RE: [users@httpd] Help, please, configuring httpd to allow downlo ads
Date Fri, 03 Dec 2004 20:17:51 GMT
> > However, it saves it with the name of the CGI. I'd really like to 
> transfer> thefile.tgz on the server to a file of the same name on 
> the browser's
> system.
> 
> In your CGI, add this to the HTTP headers returned:
> 
> Content-disposition: attachment; filename=whatever.file
> 
> That has worked for me.

And for me!  Thanks.

Now what do I do about the blank window that gets left around?  Hmmm, Maybe I have to "open"
the new URL in the current window.  Since it doesn't produce any displayable content, it may
not displace the page with the download button.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message