I want to display a file using anchor tab that does not exists in root folder. How can I achieve that. I have these two anchor tabs on my cshtml page
<div>
<a href="~/DisplayFiles/Quarter4/Q4-test - Copy_231131_133432504448693604.pdf">test</a><br/>
<a href="C:\test\test6_259418_133433697138557958.pdf">test1</a>
</div>
I can easily open the first file because it exits in wwwRootfolder/ DisplayFiles/Quarter4, but I cannot display the second file because it exits in C:\test drive. In .net core, can I display a file that exists in another folder and not in wwwRoot folder.
any help will be appreciated.