0

I am working with Magento 2.3.3 my instance is on the AWS server. On Magento2 how to access CSV file exists in var folder with website URL.

i.e. I have one file resides on var/export/test.csv now I want to access this test.csv file from my website URL

  • www.abc.com/var/export/test.csv

but it is always showing a 404 error: Page not found error.

How can I solve this issue?

Thanks in advance!!

2
  • 1
    you can not access var folder. Commented Jan 23, 2020 at 5:10
  • 1
    Move test.csv to pub/media folder and access it. Commented Jan 23, 2020 at 5:13

1 Answer 1

-1

you are not authorize to access var folder instead move the file in websiteUrl/pub/media to access it using website url.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.