On 24 nov, 20:49, RugerJ <hoogervo...@gmail.com> wrote:
> I am offering my users a link where they can download uploaded files
>
> http://www.example/app/webroot/files/[subdir]/[filename]

Are you hand writing that url?

>
> is it possible to give a nice url using route.php
>
> likehttp://www.example/files/[subdir]/[filename]

sure echo $html->url('/files/[subdir]/[filename]') will give you that
url.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to