Jump to content

Download file with complete file url by using media view class cakephp


ravikanth.htnakivar

Recommended Posts

I'am storing file details in database as

file_url
====>
filesabc1
379652679.jpg
file_ext
====>
jpgfile_name
===>
Lighthouse
.
jpgfile_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 filesabc1379652679.jpg. If i take file_url as filesabc it going success.please provide complete solution with medial view class by using file url as filesabc1379652679.jpg.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...