Friday, September 20, 2013

File download with cakephp medial view class

Hi,
   Iam storing file details in database as
    file_url====>\files\abc\1379652679.jpg
    file_ext====>jpg
    file_name===>Lighthouse.jpg
    file_uuid====>1379652679.jpg
(file_url,file_ext,file_name,file_uuid are database columns)
And my problem is when iam downloading file by using media view class am not able to downolad with file_url as \files\abc\1379652679.jpg .if i take file_url as \files\abc\  it going success.please provide complete solution with medial view class by using file url as 
\files\abc\1379652679.jpg.


Thank you

--
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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: