Let's say i've uploaded a lot of downloads to my shop.
Is there a way to view/download the original file from within the admin area ?
I've tried to href to the original filename, as well as to the mask. Both fail, saying the file can't be found.
For example, I'm getting the error message when I right click and choose 'save as' on this link: <a href="http://heregoesmysitename.com/download/ ... .jpg">view original</a>
I'm sure I used the right filenames though.
This must be a security measure, but is there a work around since i make the request from within the admin area ?
Right now the only way to view the original download file is to dowload it with a ftp program, which isn't an option when I want someone else to view the files.
IF you enabled htaccess, there is line like this :
So you cant direct access to download folder.
Try imitate what front end opencart code do, for downloading file from that folder.
Code: Select all
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
Try imitate what front end opencart code do, for downloading file from that folder.
\catalog\controller\account\download.php
OPENCART MODULE :
Opencart Compare Link Link your compared product to forum/email
Frontend Link From Admin Dashboard Get link to product , category, manufacturer, information from admin backend.
Copy and DIRECTLY Edit Product the easy way.
Custom Product Sort Full control to product sorting options
Already Sold Product Module, shows total product sold
Who is online
Users browsing this forum: No registered users and 44 guests