Yes, that does work! And it works better than my script, since it was
getting a false mime-type for .tar.gz files. So what I've actually done
is something like this:

/files : contains files
/html/ : DocumentRoot
/html/app/views/resources/files : -> symlink to /files
/html/app/webroot/archive : -> symlink to /files (since webroot/files
already existed)

Then a simple
$this->controller->redirect("/archive/$location");
in the view file makes things downloadable.

Thanks again.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to