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