如何查找文件夹的服务器路径

问题描述:

这是我的文件夹

F:\ Amit Bhoi \ working\Admin \26-03-2016 \Admin_new1 \ Admin \ SuccessStories



i在webi.config中使用它



this is my folder
F:\Amit Bhoi\working\Admin\26-03-2016\Admin_new1\Admin\SuccessStories

i use this in webi.config

<add key="DisplaySuccessStoriesImages" value="../../../../../../../SuccessStories/"/>





当我想保存图片时会出错...'



我尝试了什么:



i想要将图像保存在特定文件夹中



when i want to save the image it give error...'

What I have tried:

i want to save image in specific folder

检查



HttpServerUtility。 MapPath方法 [ ^ ]



c# - 获取.NET Web应用程序中的当前目录 [ ^ ]



asp.net - Server.MapPath [ ^ ]
check

HttpServerUtility.MapPath Method[^]

c# - Getting current directory in .NET web application[^]

asp.net - Server.MapPath[^]