I am updating a webpage to web api. The original webpage was acting like a web service by accepting an xml that provided variables values to the webpage onload which in turn produced files in an output folder (called DownloadFiles) in the web directory. The files in the output directory were then used by other programs. I am having trouble getting other programs to read the files in the output DownloadFiles directory in my web api directory. I am getting 404 errors as if a call to a file path in the DownloadFiles directory for a file that is definitely there. What do I have to do to "publish" the DownloadFiles folder in my web api project and make it available to anyone as if it were a public file? I need to know how to do this in Debug and in IIS when deployed. Please help.
↧