Jump to content

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


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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...