Thank you! That worked! On Oct 25, 12:14 pm, Tilen Majerle <[email protected]> wrote: > make a folder in your webroot called "userfiles" and inside this folder you > should have files...then should work... > -- > Tilen Majerlehttp://majerle.eu > > 2010/10/25 WhyNotSmile <[email protected]> > > > I know I'm missing something simple here, but I'm trying to make a > > file downloadable from my cakePHP site... I can show the link to the > > file, which (after uploading to the server via FCK) is domain.co.uk/ > > userfiles/filename.pdf > > > When I right-click, I can save the file, but when I left-click, it > > tries to re-direct and i get an error saying > > Error: UserfilesController could not be found. > > > So, basically, it's trying to route to the controller userfiles, which > > doesn't exist because it's just a folder. > > > How do I tell it to ignore that and just give the option of > > downloading the file? > > > Thanks. > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 [email protected] > > To unsubscribe from this group, send email to > > [email protected]<cake-php%[email protected]>For > > more options, visit this group at > >http://groups.google.com/group/cake-php?hl=en
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 [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?hl=en
