Re: file targets

Kirk Haines <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
On Tue, 3 Feb 2004, Daniel Bretoi wrote:

> On several forums, I have seen links of the form
> 
> http://site/download.php?id=230923
> 
> and when the link is followed, a file download follows, and the filename
> will be something like reasonable-name.tar.gz or something.
> 
> Does anyone know how this is done? or if it can be done with ruby?

Issue a browser redirect to the desired filename.  And can't just about 
everything be done with Ruby?  ;)


Kirk Haines
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.