Anything under webroot can be linked to directly. You didn't provide a complete example path so I'm guessing that a directory within webroot/files doesn't exist. In that case, Cake will treat the URL as a request to a controller, hence the missing FilesController msg.
On Wed, Feb 20, 2013 at 4:15 PM, April DeRossett <[email protected]> wrote: > Okay...the end path will be variable so a route won't work. I just noticed > that I typed the path wrong. The location is /webroot/files/../.. > > April DeRossett > President > Direct Connect Solutions > 615.386.3946 (office) > 615.305.7036 (mobile) > 615.386.9510 (fax) > > Sent from my iPhone > > On Feb 20, 2013, at 8:12 AM, Jonathan Sundquist <[email protected]> > wrote: > > Either create a route so that cake knows how to get to that folder or best > option would be to move the files folder under webroot. > > > On Wed, Feb 20, 2013 at 8:05 AM, April DeRossett <[email protected]> > wrote: >> >> I have read, and read, but I can not figure this out. I am hoping someone >> will point me in the right direction. I have .pdf resources in >> app/files/id#/../.. To which I need to link. How do I do this? I keep >> getting a missing controller. "Files". Isn't there a way to link without >> controller and model? >> >> -- >> Like Us on FaceBook https://www.facebook.com/CakePHP >> Find us on Twitter http://twitter.com/CakePHP >> >> --- >> You received this message because you are subscribed to the Google Groups >> "CakePHP" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/cake-php?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
