httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message