Server.MapPath

I mean, for example, if you have a folder called images in your web application folder, you just use Server.MapPath("images"), not Server.MapPath("c:\...\images").......get my point
 
It works perfectly with the files in Web Application Folder. However, the files are not stored in the Web Application Folder, It is stored in C drive instead. How do you think? Can I achieve it?
 
The filies need to be addressable from the client - you are redirecting them to another part of your website. Either move the files to a sub folder of your site or make the folder they are in another virtual directory and use that path.
 
Back
Top