Hi,
I'm building a website using asp.net 2.0.
I wanna have a mechanism, so the users will be able to view a list of all the files in a specific folder on the server and download the files. I did it, but the problem is that when the client tries to open an htm file - the 'File Download' dialog opens, the client press 'open' and then en error appears: The resource cannot be found
For any other kind of file it works just fine, but only for htm files I'm getting that error, Unless the htm file is located under the application's root directory.
I'm building a website using asp.net 2.0.
I wanna have a mechanism, so the users will be able to view a list of all the files in a specific folder on the server and download the files. I did it, but the problem is that when the client tries to open an htm file - the 'File Download' dialog opens, the client press 'open' and then en error appears: The resource cannot be found
For any other kind of file it works just fine, but only for htm files I'm getting that error, Unless the htm file is located under the application's root directory.