I am using WebClient.DownloadFile()
method for downloading files through my Localhost URL.
And it is working well for all files except for log files. When I download log files it shows contents as "Not Authorized"
Also it occurred to me than when I open log files in browser through URL then it won't show its contents in browser as "Not Authorized"
Is there a way to access contents of log file through WebClient.DownloadFile()
method.
I want to download these files with its content into the specified location.